News:

Looking for documentation? Take a look on our wiki

Main Menu

Displaying all products by a given manufacturer

Started by thenorman138, February 20, 2022, 20:53:24 PM

Previous topic - Next topic

thenorman138

I swear this was working before and I haven't touched this file recently, but now I'm having issues.

I made a custom html template one day which would simply load products with given manufacturer info. The page currently shows name, image, info, etc. of the manufacturer but the area that should be loading products says no records found. I dumped the manufacturer object to double check manufacturer ID (all good there) and all other info is loading.

The hack I used to get the products to display on this page originally is this:

{component index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=<?php echo $this->manufacturer->virtuemart_manufacturer_id ?>}

Is this incorrect?

I basically just want to say "If the manu ID is 21 then show all products belonging to it" and I do see a product in the virtuemart products backend that is attached to this manufacturer (and it's happening for all of them)

Studio 42

Cheick in Virtuemart config, if you display product without categories or not ?