WooCommerce, the store plugin for WordPress, counts stock once you turn on stock management: each product, or each variation of one, gets a quantity, and WooCommerce marks it Out of stock when it runs out. Its documentation, which I read today, says stock comes off when an order reaches Processing or On hold and goes back when an order is Cancelled, or Failed if stock had come off. A refund puts items back only if you tick Restock refunded items when you make it. That's a count of finished products for one store, moved by its own orders. Below are the store-wide settings, the settings on each product, when stock moves, what sits outside it, and a sheet that puts WooCommerce's numbers beside the shelf.
The short version
- Turn on Manage stock under WooCommerce, Settings, Products, Inventory.
- Each product or variation then has a quantity, a low stock threshold and a back order setting.
- Without stock management, a product set In stock can keep selling indefinitely.
- Stock comes off at Processing or On hold, and goes back at Cancelled, or Failed if it had come off.
- A refund restocks only if you tick Restock refunded items.
- Hold stock keeps stock for unpaid Pending payment orders for the minutes you set.
- TaroStack keeps the stock behind the store: every batch, ingredient and lot. More below.
The store-wide settings
From WooCommerce's settings documentation, under WooCommerce, Settings, Products, Inventory:
| Setting | What it does |
|---|---|
| Manage stock | Turns on stock counts for physical products. Off, a product's status is only In stock, Out of stock or On backorder, and no counts are kept |
| Hold stock (minutes) | Holds stock for unpaid orders. When the time runs out, the Pending payment order is cancelled and the stock released. It doesn't apply to orders On hold |
| Notifications | Emails for low stock, out of stock and back orders, to the addresses you enter |
| Low stock threshold | The count that sends a low stock email |
| Out of stock threshold | The count at which a product becomes Out of stock |
| Out of stock visibility | Hides out of stock products from the catalog |
| Stock display format | Always show stock ("12 in stock"), only when low, or never |
On each product
The product editor's Inventory section, by WooCommerce's documentation, can override some of the store-wide settings for one product:
- SKU, unique across the store.
- Stock management, shown when Manage stock is on. Ticked, the product uses a Quantity, and WooCommerce sets it Out of stock when it runs out. Not ticked, it uses Stock status: In stock, where the page says sales can continue indefinitely; Out of stock; or On back order.
- Allow back orders? Do not allow; allow, but notify the customer; or allow, which looks to customers like an item in stock.
- Low stock threshold, for this product.
- Sold individually, one per order.
A variable product, coffee in whole bean and ground for instance, can give each variation its own SKU, price and stock level, the page on adding products says.
When stock moves
From WooCommerce's page on order statuses and its page on refunds:
| What happens to the order | Stock |
|---|---|
| Pending payment | Held while checkout runs, using the Hold stock setting |
| Processing (paid) | Reduced |
| On hold (payment to confirm) | Reduced |
| Completed | The page says nothing more about stock |
| Cancelled | Returned, if stock management is on |
| Failed | Returned, if stock had been reduced |
| Refunded | Returned only if Restock refunded items is ticked on the refund |
So a returned bag goes back on the website only if someone ticks the box. A refund for a bag that went in the bin shouldn't tick it.
What sits outside it
The pages describe a count of finished products, moved by the store's own orders. Not in them:
- Sales elsewhere. Bags sold at a market or to a cafe come off only when you change the quantity.
- What a product is made from. Green coffee, bags, valves, labels: nothing in the pages.
- Roasting. Roasting 40 bags doesn't add 40; you type it in.
- Lots and dates. The pages describe a quantity for each product or variation, not by roast date or lot.
Plugins add more; this page covers WooCommerce itself.
What I'd do
Turn on stock management for every product, including gift boxes, so nothing sells indefinitely. Set Hold stock, so an abandoned checkout gives its bags back. After a market day or a wholesale order, take those bags off the same day. On a refund, tick Restock refunded items when the bag comes back sellable. Count the shelf weekly and fix the numbers from the count.
BigCommerce inventory management and does Wix track inventory cover the same question for those stores, coffee roaster inventory spreadsheet keeps green coffee and roasts, and inventory count sheet example a fuller count.
An example: the market weekend
Pauoa Coffee Roasters is a made-up roaster on WooCommerce that also sells at a Saturday market. It sold 24 bags of the ground Kona blend there and nobody changed the website, which went on selling bags the roaster didn't have. Its products through the sheet:
| Product | Quantity in WooCommerce | Back orders | Shelf, less promised | Check |
|---|---|---|---|---|
| Kona blend, whole bean | 18 | No | 18 | OK |
| Kona blend, ground | 30 | No | 6 | WooCommerce can sell more than you can ship |
| Medium roast | 0 | No | 9 | More on the shelf than WooCommerce shows |
| Gift box | not managed | 4 | Not tracked: the store keeps selling it | |
| Dark roast, 2 lb | 0 | Allow | 0 | Taking back orders with none in stock |
| Decaf | 5 | No | 5 | At low stock: reorder or make more |
The ground Kona went to 6. The medium roast had been refunded without the box ticked, and went back to 9. The gift box went onto stock management, and the dark roast's back orders went off until the next roast.
Get the sheet
Download the WooCommerce stock against the shelf. One row for each product or variation: whether WooCommerce manages its stock, its quantity, low stock threshold and back order setting, what you count on the shelf and what's promised elsewhere. The sheet shows what's free to sell, and flags products not tracked, a store that can sell more than you can ship, stock missing from WooCommerce, back orders with nothing in stock, and low stock. Six made-up products are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.
Where this stops working
The sheet compares WooCommerce's numbers with the shelf. It doesn't take a roast's green coffee and bags out of stock, keep lots or roast dates, or count what sells at markets and to cafes.
How TaroStack does it
TaroStack doesn't connect to WooCommerce, so the store's count is still typed in. It keeps the count it comes from.
Each delivery comes in as a lot from a named supplier, with the supplier's lot code and its dates. Each recipe lists its ingredients, and each batch records which lots it used, automatically. One report walks any lot to the batches it went into and the customers who got them.
| The job | The store's stock page and a notebook | In TaroStack |
|---|---|---|
| One count of finished stock, for every place you sell | WooCommerce's number, corrected by hand | Stock by item, counted on a phone |
| Stock promised to a cafe | Remembered | A sales order for that customer, written when the order is taken |
| Each batch made, added to stock | Typed in | A batch record that adds to stock and takes the ingredients out |
| Green coffee, bags and labels | Not in the store at all | Stock of each, by lot |
Stock, lots and delivery notes are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.
