VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: markovicv1 on December 16, 2014, 15:51:43 PM

Title: Parent and children
Post by: markovicv1 on December 16, 2014, 15:51:43 PM
Can I get children without a parent (not a biological/theological question)?
I need children to be hidden in a category view (want to see just parents) but displayed in a parent flypage as ordering options.

thnx.
Vladimir
J2.5+VM2.6.1.4
Title: Re: Parent and children
Post by: jenkinhill on December 16, 2014, 16:34:11 PM
Do you mean options (eg size/colour) rather than stand alone child products? If so you can use template overrides to hive the variants on the category view.
Title: Re: Parent and children
Post by: balai on December 16, 2014, 17:05:09 PM
But these happens by default. No?

If the child products are uncategorized (which happens by default), then they won't be displayed in the category but they will be there in the products details page
Title: Re: Parent and children
Post by: markovicv1 on December 17, 2014, 11:27:17 AM
Thnx Balai

Couldn't see a forest for the trees. It solved the problem. Somehow I kept grouping children in the same category as parent never questioning is it necessary for the parent-child to be in a same cat?
Title: Re: Parent and children
Post by: markovicv1 on January 25, 2015, 12:53:24 PM
Btw is there a way to clone a parent and not to loose relationship to all the children?