VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: diogodac on July 22, 2013, 18:02:27 PM

Title: how to set the Stock for different size of products?
Post by: diogodac on July 22, 2013, 18:02:27 PM
Hello, how to set the Stock for different size of products?

Example: I have one t-shirt.... 10 products are small size, 8 products and x-large size and 2 large size?

how to set the stock for each one?

thanks
Title: Re: how to set the Stock for different size of products?
Post by: Maxim Pishnyak on July 23, 2013, 17:22:03 PM
t-shirt - parent product
t-shirt small size - child
t-shirt x-large size - another child
t-shirt large size - guess who?
Title: Re: how to set the Stock for different size of products?
Post by: sandstorm on July 31, 2013, 17:48:00 PM
Hi,

You would need to set these products up as Parent Child & also use the custom stockable variant plugin.

There was a good tutorial that explains it pretty well here http://www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/152-tutorial-custom-field-with-stockable-variants

I followed this and have it working this way, took me a few attempts to figure it out, but you'll get there with this tutorial.

Thanks

Andy
Title: Re: how to set the Stock for different size of products?
Post by: maxispin on October 24, 2013, 22:10:05 PM
This has been over complicated.

Ideally there would simply be a Tab where you have all variations and a button to generate all possible combination rows with price, stock, etc info boxes.

Let's asume that I have t-shirt shop with 10 different colors, 10 different sizes, 100 different prints. ehh.. 10 x 10 x 100 combinations.. Maybe not a good idea to have all possible combinations generated but the only one I can now figure out. However, doing it manually would take a "week".


The newest version (2.0.24) is a step to right direction. From the Parent can be added with plugin directly the different shirt sizes (childs). However, if those colors have childs (prints).. it is not working.


Title: Re: how to set the Stock for different size of products?
Post by: balai on October 25, 2013, 09:24:04 AM
Just check the stockable variants custom field plugin