VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: artifactis on January 09, 2013, 13:58:50 PM

Title: Only Manufacturer No All Categories
Post by: artifactis on January 09, 2013, 13:58:50 PM
I have the same desire to remove all categories from my manufacturer pages

I cannot find the code in
modules\mod_virtuemart_manufacturer\tmpl\default.php

this category problem is bad when you have over 20 categories

I am using virtuemart version 2.0.12
Title: Re: Only Manufacturer No All Categories
Post by: artifactis on January 09, 2013, 14:46:48 PM
ok nevermind i found the right file and made the correct changes after installing custom filters
i noticed there are two instances of this line of code


$link = JROUTE::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id);


my question now is can i add the manufacturers details and logo above the products?

without the "show all products" button?

sorry I forgot to mention that i changed the first instance of the line above to

$link = JRoute::_('index.php?virtuemart_manufacturer_id[0]=' . $manufacturer->virtuemart_manufacturer_id.'&option=com_customfilters&view=products');


which removed categories from my manufacturers module but also skips the manufacturer description page with  the browse all "manufacturer" products button