Author Topic: Only show mother products on mainpage not the child  (Read 155 times)

brainy.nl

  • Beginner
  • *
  • Posts: 1
  • Sometimes it easier to ask
Only show mother products on mainpage not the child
« on: November 28, 2017, 15:59:05 pm »
I have search this forum, but can't really find the answer I need. In my shop steenwereld.nl I have mother products and the most of them have one or more child products connected. Because of the filter I use I need to connect to every child the category and manufacturer.
The filter is working correct. But on the mainpage I only want to show the mother products and not the childs.
Is there a configuration switch or must I make changes to php files?

Thanks for your time anyway...
____________________
Thank you for your time!

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 609
  • Software Developer {PHP, JavaScript, jQuery, ...}
    • www.virtueplanet.com
  • VirtueMart Version: 3.2.4
Re: Only show mother products on mainpage not the child
« Reply #1 on: November 28, 2017, 17:49:58 pm »
I think you have not assigned any category in your child products. Open each of your child products and assign a category.

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1148
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.6
Re: Only show mother products on mainpage not the child
« Reply #2 on: November 29, 2017, 09:54:36 am »
Connecting a category makes the Child visible. There is a switch in configuration to include search for uncategorized Children. The other way around, no clue.
Uncategorize your Children and test the switch under configuration.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.2
Virtuemart 3.2.6
Olympiantheme Hera (customized)

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1308
Re: Only show mother products on mainpage not the child
« Reply #3 on: November 29, 2017, 11:27:49 am »
Unfortunately the display or not of the child products is connected with the category assignment.

I think it would be much better to have a setting for displaying or not child products.
Messing up the data structure with the display is a big drawback, especially for shop's that import/export data to/from other systems