Reduce main product stock with variation's amount
-
Hi,
I have a product with variations, the variations are different amounts of product (1,5,10,15, etc.) and the price depends of these, buying 15 is cheaper than buying one.
Product Attribute name : “Amount”
Product Variables : 1,5,10,15, etc.How I can get it so that the main product would have stock of 300, then when customer buys item (15) the main product’s stock would decrease with 15. Now it either reduces main product stock by one or variation stock by one. Also not allowing customer to buy products more than there are in stock…
Is there plugin for this or do I have to code it myself in to woocommerce code? Would sure be pain in the ass but I guess it’s doable.
- The topic ‘Reduce main product stock with variation's amount’ is closed to new replies.