VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: kellygalla on December 15, 2015, 18:20:43 PM

Title: Show child products ONLY on parent page?
Post by: kellygalla on December 15, 2015, 18:20:43 PM
Basically, I have a furniture website and want the children to show up ONLY when someone clicks the parent.

So, the  customer clicks "Awesome King Bed Set" and can see all the children there too - Awesome Nightstand, Awesome Mirror, etc... (I have a custom field set to show children and prices as a "Complete the Set" dropdown menu).  Right now, if you go into our bedroom section of the website, you can see all the products splayed out over pages and pages-- night stands, dressers, etc.. and its confusing and overwhelming.  I'd like to relegate all the sub-items/children to just being shown not he parent/bedroom set page.  So customers just see awesome sets, click on them, and can see all the pieces of the set.

Does this make sense?  Is it do-able?   ???

Thank you for your guidance!!!!
Kelly
Title: Re: Show child products ONLY on parent page?
Post by: Studio 42 on December 16, 2015, 00:32:22 AM
I think, this need a core hack, or a plugin.
Because, if you set category in children, this is displayed as a "parent" product.
If you donc use generic child variant, this is not displayed but the dropdown.
I have modified the default dropdown render to replace it by links to the childs with some informations in the customfields model.
For new VM 3.0.12 the file to modify is in the front > sublayout folder.
Title: Re: Show child products ONLY on parent page?
Post by: kellygalla on December 16, 2015, 01:02:06 AM
Where do I get that plugin or modification that you made?  Or am I misunderstanding-- is it just something you edit/Can you tell me how to do it? 
Title: Re: Show child products ONLY on parent page?
Post by: Studio 42 on December 16, 2015, 16:59:36 PM
This need else a new virtuemart custom plugin or hack the PHP VM core files, you cannot change this with current VM code(i had already to modify this for a customer tu display link with desc to childrens)