What you’ll have at the end
Clear rules for how every order moves your materials, all logged in stock history.
Before you start
You need WooCommerce with stock management turned on, and the free Stocker plugin. Takes two minutes if you don’t have it yet.
Steps
WooCommerce reduces the order’s stock
This happens on hold, processing or completed. Stocker then deducts the recipe amounts for each item.
An order is cancelled
The materials go back into stock automatically.
An order is refunded
Tick “Restock refunded items” and choose the items and quantities: their materials come back. Setting the status to Refunded by hand returns nothing.
If something looks off
Materials didn’t move? Check the order status and that the product has a recipe. Still stuck? Write to me.

