VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: fbc on July 18, 2013, 20:16:56 PM

Title: Child Products don't appear in product details page.
Post by: fbc on July 18, 2013, 20:16:56 PM
I created a child product  for one of my main products in a different unpublished category because I don't want to sell the child products separately. I need for the user to have to select one of the child products like a cart variant. I can't use cart variants because they don't keep stock levels.

How do I accomplish this task?
Title: Re: Child Products don't appear in product details page.
Post by: fbc on July 18, 2013, 21:39:48 PM
I just followed this GUIDE however it's only adding the child variant to the order and not the parent as well. So my stock levels for the parent product stays the same. Any ideas?

guide: http://forum.virtuemart.net/index.php?topic=98648.0

So if the user buys ROCKET A they need to select which engine ENGINE-A or ENGINE-B, both the rocket and child variant need to appear on the order so the stock is reduced.
Title: Re: Child Products don't appear in product details page.
Post by: Maxim Pishnyak on July 18, 2013, 23:02:28 PM
Maybe this could help https://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_with_stock_control ?
Title: Re: Child Products don't appear in product details page.
Post by: fbc on July 19, 2013, 00:36:30 AM
Thank you, however it works the same as the with the other guide. It doesn't show the parent  product when you go to check out nor does it deduct the parent item from inventory when you order.

But other than that it's pretty neat.