News:

Looking for documentation? Take a look on our wiki

Main Menu

ASK A QUESTION productdetails SEO problem

Started by angelo, December 17, 2012, 10:20:11 AM

Previous topic - Next topic

angelo

Joomla 2.5.8 and VM2.0.14
Joomla 2.5.8 and VM2.0.15d
On two different VM2 sites we have the problem that the 'ask a question' works fine for English but when using another language the 'aks a question';  link opens the product category instead. If we disable the seo everything works fine.
The faulty link has COM_VIRTUEMART_SEF_BY=sef_op?tmpl=component at the end instead of ?tmpl=component.
Thanks for any help!

tzahariev

Hi what do you mean with "disable SEO". I thin that you disabled some plugin like wordpress's "all in one seo pack" or something like that? look into tha main php file :)
Web design studio Kipo

jjk

Are you using a third party SEF extension?
The non-sef url for the 'Ask a question about this product' should look like this:
...yourdomain/index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=1001&virtuemart_category_id=2&tmpl=component&lang=en
...yourdomain/index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=1001&virtuemart_category_id=2&tmpl=component&lang=de

If you don't have the language tag at the end, something in your Joomla or VirtueMart language configuration is wrong.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

angelo

Hello,

thanks for your reply.
We have checked the Virtuemart SEO settings and have altered the 'Translate strings' setting from enabled to disabled.
The problem has gone now, but now the strings are not translated.
The same problem is also when a price is not displayed and there is a link to ask for a price.
So is this a bug?


jjk

I'm pretty shure the problem is a missing quote (") in the dutch ...\language\nl-NL\nl-NL.com_virtuemart.sef.ini
Check line 15
Note: When you edit the file, make shure your editor saves it encoded as UTF-8 - No BOM
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

angelo

Hello JJK,
it is SOLVED!!!!
It was indeed a missing quote in line 15of the nl-NL.com_virtuemart.sef.ini language file.
Thank you very much.

Kind regards, Angelo