News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product->link missing ItemId when SEF enabled

Started by alepoudaki, January 23, 2013, 14:44:16 PM

Previous topic - Next topic

alepoudaki

Inside my template for Virtuemart Category I create a link to the product as following
echo JHTML::link ($product->link, $product->product_name, array('title' => $product->product_name, 'class' => 'prodListTitle'));

When I have SEF disabled the product->link is like this
localhost/MySite/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=173&virtuemart_category_id=61&Itemid=119

When I have SEF enabled the product->link is like this
localhost/MySite/index.php/component/virtuemart/VDL/cables/analogue/the-sea-hybrid-3t-20-21-detail?Itemid=0

How Can I have the right ItemId in that link? I am loosing the breadcrumb module I have inside Virtuemart Category Menu Item. I read all related topic but didn't found anything usefull!

Global Configuration SEO Settings
Search Engine Friendly URLs   Yes
Use URL rewriting       NO
Adds Suffix to URL      NO
Unicode Aliases          NO
Include Site Name in Page Titles      NO

Virtuemart SEO Settings
SEO Disabled unchecked
SEO Suffix     -detail