VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: kratzi on August 05, 2014, 23:55:31 PM

Title: Product variants with stock control
Post by: kratzi on August 05, 2014, 23:55:31 PM
Hi,

I am trying to setup variant products to my shop. VM 2.6.6 and J2.5.24

What I am trying to reach is that a product variant can not be choosen when the stock for the product is either 0 the product is sold out.

At the moment you can choose the variant and it will redirect you to 404 with the info the product would not exist.

How can this be solved?

Thank you

kratzi

Title: Re: Product variants with stock control
Post by: mowlman on August 21, 2014, 16:48:15 PM

How do you have the "Action when a Product is Out of Stock" settings set? 
Which is within VM Config  Shopfront tab on the right side.
Title: Re: Product variants with stock control
Post by: kratzi on December 14, 2014, 13:18:27 PM
Hi,

at the moment I have "Don't show products when product variants are also not available"

This helps that I don't show a 404 site. But still it is possible to choose the product which is sold out from product variants.

When you add it to the cart it will show the product is not available. But how to not display it at all in product variants when not available?

Thank you