VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: roman5527 on August 08, 2018, 18:12:45 PM

Title: Product varianat
Post by: roman5527 on August 08, 2018, 18:12:45 PM
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
Title: Re: Product varianat
Post by: Studio 42 on August 09, 2018, 11:10:08 AM
If you activate stock control in Virtuemart config, does it not work ?
Title: Re: Product varianat
Post by: roman5527 on August 09, 2018, 22:58:11 PM
I would like advice on how to set it up to work as I wrote higher.
Title: Re: Product varianat
Post by: Studio 42 on August 09, 2018, 23:56:05 PM
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.