VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: razor7 on August 30, 2022, 19:23:32 PM

Title: [SOLVED] Create menu item to display all parent products, but no childs
Post by: razor7 on August 30, 2022, 19:23:32 PM
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!
Title: Re: Create menu item to display all parent products, but no childs
Post by: Jumbo! on August 30, 2022, 20:25:46 PM
Do not assign any categories to the child products.
Title: Re: Create menu item to display all parent products, but no childs
Post by: razor7 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.

Title: Re: Create menu item to display all parent products, but no childs
Post by: Jumbo! 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.
Title: Re: Create menu item to display all parent products, but no childs
Post by: razor7 on September 01, 2022, 15:48:31 PM
Quote from: Jumbo! 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.

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!