Author Topic: Product varianat  (Read 251 times)

roman5527

  • Jr. Member
  • **
  • Posts: 84
Product varianat
« 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

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3248
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Product varianat
« Reply #1 on: August 09, 2018, 11:10:08 am »
If you activate stock control in Virtuemart config, does it not work ?

roman5527

  • Jr. Member
  • **
  • Posts: 84
Re: Product varianat
« Reply #2 on: August 09, 2018, 22:58:11 pm »
I would like advice on how to set it up to work as I wrote higher.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3248
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Product varianat
« Reply #3 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.