News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product varianat

Started by roman5527, August 08, 2018, 18:12:45 PM

Previous topic - Next topic

roman5527

hi, i have one question.

I have eshop products that have child products like clothing sizes.
For example:
parent product -> child product size S, child product size M, ....

How do I set up Virtuemart so that if a child product is sold out, the parent product was still displayed, but the sold child product was not displayed in the select box in frontend?
do the parents also need to set the value in the stock ?

well thank you

Studio 42

If you activate stock control in Virtuemart config, does it not work ?

roman5527

I would like advice on how to set it up to work as I wrote higher.

Studio 42

See in Virtuemart config YOURSHOP/administrator/index.php?option=com_virtuemart&view=config
> Shopfront
> Action when a Product is Out of Stock : Do not Display Product
I'm not shure if it work, but by logic, it shout work for children and parent having no stock.
If your parent is hidden, you should add stock to parent and set parent as not orderable in the generic child variant setting.