VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: erhabe on February 22, 2015, 23:18:33 PM

Title: Rewrite problem
Post by: erhabe on February 22, 2015, 23:18:33 PM
Hello

I have a category named CATEGORY-ONE.This category have multiple products from many manufacturers.
I make a menu vith category name so i have this url.....SITENAME/CATEGORY-NAME
I make submenus with all category manufacturers and the urls are .....SITENAM/CATEGORY-NAME/MANUFACTURER-NAME
When i click on a manufacturer menu it works fine and goes to that category manufacturer products list, but when i click a product the MANUFACTURER-NAME is not corect .
All links are like this....SITENAME/CATEGORY-NAME/MANUFACTURER1-NAME/PRODUCT-NAME
The issue is that manufacturer name is not changing and the urls are generated with a single manufacturer name for all products.

How can i solve this issue to generate all manufacturers links?


I believe the problem can be in sublayouts/product.php

$ItemidStr = '';
$Itemid = shopFunctionsF::getLastVisitedItemId();
if(!empty($Itemid)){
$ItemidStr = '&Itemid='.$Itemid;
}



Joomla version 3.3.6
Virtuemart version 3.0.6

Thank you
Title: Re: Rewrite problem
Post by: lucascatani on August 27, 2015, 16:22:11 PM
Same problem in VM 3.