News:

Looking for documentation? Take a look on our wiki

Main Menu

Displaying products in manufacturer's in horizontal view [SOLVED]

Started by OriyanJ, December 31, 2015, 15:04:28 PM

Previous topic - Next topic

OriyanJ

I tried changing "Sublayouts for products in category" to "products_horizon" but that affects my home page's featured products. Any easy solution?

VirtueMart 3.0.11.4
VirtueMart 3.2.2

jenkinhill

I guess you will need to edit & override components/com_virtuemart/views/manufacturer/tmpl/default.php to be able to specify horizon just for the manufaturer page.

VM3.0.11.4 was a test/development vesion. Even numbered versions are stable, VM3.0.12 is the current stable.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

OriyanJ

Thank you, added the following code at line 109 -
if (strpos($url,'manufacturer') !== false) { $this->productsLayout = 'products_horizon'; }
VirtueMart 3.2.2