Author Topic: [SOLVED] Create menu item to display all parent products, but no childs  (Read 687 times)

razor7

  • Jr. Member
  • **
  • Posts: 366
    • MGSCreativa - Professional VM!
Hi!

I've created a VM menu item in Joomla menu using VirtueMart 4.0.6 10690 and Joomla! 3.10.11, I've set no category filter so the menu item can display all products from all categories, but, as my shop uses MultiVariant products extensively, in that menu item, all products (parents and childs) are displayed. Is there a way to tell VM to only show all parent products (and not childs) from all categories?

Thanks!
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 873
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always the latest
Re: Create menu item to display all parent products, but no childs
« Reply #1 on: August 30, 2022, 20:25:46 pm »
Do not assign any categories to the child products.

razor7

  • Jr. Member
  • **
  • Posts: 366
    • MGSCreativa - Professional VM!
Re: Create menu item to display all parent products, but no childs
« Reply #2 on: August 30, 2022, 21:55:04 pm »
Thanks @Jumbo! that's the issue, It displays all products (parent and chillds) even if I don't set cats to the childs!. Please see attachments.

MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 873
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always the latest
Re: Create menu item to display all parent products, but no childs
« Reply #3 on: August 31, 2022, 08:13:15 am »
Try disabling the "Show uncategorised child products in search results and modules" option in VirtueMart Configuration under the Shopfront tab.

razor7

  • Jr. Member
  • **
  • Posts: 366
    • MGSCreativa - Professional VM!
Re: Create menu item to display all parent products, but no childs
« Reply #4 on: September 01, 2022, 15:48:31 pm »
Try disabling the "Show uncategorised child products in search results and modules" option in VirtueMart Configuration under the Shopfront tab.

Thanks man! Now I got it working! I had enabled somehow "Show also products, which are not in at least one published category.", disabled that option and worked as expected!

Thanks!
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store