VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: panoss on March 18, 2017, 13:50:32 PM

Title: Manufacturers module does not display the products
Post by: panoss on March 18, 2017, 13:50:32 PM
This (http://1001sites.eu/lioncycles/index.php?lang=en) is my site.
In the bottom left click 'Specialized'.
It should display the bikes of manufacturer 'Specialized'. Instead, it displays a button with caption 'View all Specialized Products'
What have i done wrong?

Title: Re: Manufacturers module does not display the products
Post by: jenkinhill on March 18, 2017, 15:24:34 PM
That is the default VM function. eg see http://demo.virtuemart.net/manufacturers/producer

If you want to link directly to the products display then the easiest way is to link directly to manufacturer's products page using a Joomla menu module instead of the manufacturer module.

You say Joomla 3.62? If you are really using J3.6.2 then you should update ASAP as that version is extremely insecure.  http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: Manufacturers module does not display the products
Post by: panoss on March 18, 2017, 15:30:45 PM
Quote from: jenkinhill on March 18, 2017, 15:24:34 PM
If you want to link directly to the products display then the easiest way is to link directly to manufacturer's products page using a Joomla menu module instead of the manufacturer module.
I will try a Joomla menu module, thanks.

Quote from: jenkinhill on March 18, 2017, 15:24:34 PM
You say Joomla 3.62? If you are really using J3.6.2 then you should update ASAP as that version is extremely insecure.  http://forum.virtuemart.net/index.php?topic=118683.0
It 's 3.6.5,  updated my signature too.
Title: Re: Manufacturers module does not display the products
Post by: PRO on March 19, 2017, 16:47:30 PM
or , you can do an override in the

module/tmpl/default.php

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

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