VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: ukfish1 on November 04, 2015, 12:08:01 PM

Title: How to show different stock levels for different sized products?
Post by: ukfish1 on November 04, 2015, 12:08:01 PM
Hi

This is the scenario. I have a product that is available in 4 sizes and we have different levels of stock for each size.

So when customers visit the product details page or this product I want them to be able to only select the product sizes that are still in stock. So, If i originally had 2 items in medium size and they have both been sold, I don't want the medium option to be displayed to the customer. Only items in stick should be displayed.

Is that possible and if so, how would I achieve this please?

Thanks, Paul

Title: Re: How to show different stock levels for different sized products?
Post by: Milbo on November 04, 2015, 12:15:00 PM
Multivariant, oder generic child variant
Title: Re: How to show different stock levels for different sized products?
Post by: ukfish1 on November 04, 2015, 12:30:14 PM
Thanks Milbo

so i create the product as normal and then create a multi variant or child variant custom field. Is that correct.

Are there detailed instructions anywhere for how to achieve this?

Paul
Title: Re: How to show different stock levels for different sized products?
Post by: ukfish1 on November 06, 2015, 10:25:53 AM
can anyone shed any further light on the process for creating this functionality. I'm going round in circles trying to figure it out

thanks, Paul
Title: Re: How to show different stock levels for different sized products?
Post by: Milbo on November 06, 2015, 11:16:10 AM
http://docs.virtuemart.net/manual/general-concepts/186-derived-products-product-pattern-child-products.html

and
http://docs.virtuemart.net/tutorials/product-creation/221-multivariant.html