Author Topic: Displaying all products by a given manufacturer  (Read 767 times)

thenorman138

  • Beginner
  • *
  • Posts: 7
  • A beginner
Displaying all products by a given manufacturer
« on: February 20, 2022, 20:53:24 pm »
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:

Code: [Select]
{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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4668
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Displaying all products by a given manufacturer
« Reply #1 on: February 21, 2022, 09:23:04 am »
Cheick in Virtuemart config, if you display product without categories or not ?