News:

Support the VirtueMart project and become a member

Main Menu

Get product SEF link in all languages

Started by keep, July 17, 2013, 15:59:21 PM

Previous topic - Next topic

keep

Can I get somehow the sef url of the current product in a multilanguage shop in all availagble languages?
Quote$url1 = "index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=".$this->product->virtuemart_product_id."&virtuemart_category_id=".$this->product->virtuemart_category_id";
echo JRoute::_($url1);
This is great for the current language, but how can I get the translated version of this url?
I need this information in the productdetails view