Variable stock management
Currently, there is no maintained solution to manage variable product stock and update product quantities dynamically (for ex. i sell tea per grams with 25g-50g-70g or 100g and wants each variation to deduct from the main product total, not only -1 by default).
I'm sure i'm not alone in this case (coffee, rice, sweet dealer...)

7 comments
-
Adepeju commented
FYI there is now an extension in the Woo marketplace that address this need:
https://woocommerce.com/products/variation-shared-inventory-for-woocommerce/ -
Jamie commented
There's finally a plugin that can do this and a lot more. Take a look at WooCommerce Attribute Stock: https://codecanyon.net/item/woocommerce-attribute-stock/25796765
-
Anonymous commented
I wonder if you have managed a way round it. I am searching for a solution myself and cannot seem to find any. So, if you do, please let me know, many thanks
Sabine -
Cyril commented
@MCIT: this plugin works fine for moment but is not maintained: https://codecanyon.net/item/woocommerce-variable-stock-management/20501995
This solution with code also exists: https://jeroensormani.com/custom-stock-quantity-reduction/ -
Adam commented
Hi ,If you are not managing stock per sku then you should create a simple product and create custom options. I found this but there may be better ones out there - https://wordpress.org/plugins/product-options-for-woocommerce/
If you want to automate creating variable products from your ERP / Accounting system , there is an awesome platform - www.stock2shop.com
-
MCIT commented
Did you find any solution?
-
Anonymous commented
i'd like to extend this idea even further. We are selling T-Shirts in variable sizes (with each having their own stock value), but we also want to limit the total amount of shirts being sold.
So let's say we have 10 shirts in S, 10 Shirts in M and 20 Shirts in size L. However, we only want to sell 20 Shirts total. Intuitively, i'd expect this to be possible by checking both boxes, the one for product level stock management and the one for the variation stock.