WooCommerce stock management: settings, alerts and variations
· The AYT team · 5 min read

Stock in WooCommerce is turned on under WooCommerce → Settings → Products → Inventory, with the "Manage stock" option. After that you enter the quantity on each product (or each variation), and WooCommerce reduces it with every order, marks the product "Out of stock" when it reaches zero and emails you when stock drops below your threshold.
Step 1: the store-wide stock settings
Go to WooCommerce → Settings → Products → Inventory:
- Manage stock: tick "Enable stock management". Without it you can only mark products "In stock", "Out of stock" or "On backorder", with no quantities.
- Hold stock (minutes): how long stock stays reserved for an unpaid order (for example an abandoned card payment). After that the unpaid order is cancelled and the products go back into stock. If you leave the field empty, the hold never expires.
- Notifications and Notification recipient: the email alerts for low and out-of-stock products, and the address they go to.
- Low stock threshold: below which quantity you get the low stock alert.
- Out of stock threshold: at which quantity the product becomes "Out of stock". The default is 0; set 1 or 2 if you want a buffer for damaged goods or items sold in your physical shop. A new threshold doesn't change the status of products already "In stock"; it applies at their next stock change.
- Out of stock visibility: hides out-of-stock products from the catalogue.
- Stock display format: what customers see. The quantity always ("12 in stock"), only when low ("Only 2 left in stock") or never.
On hiding out-of-stock products: the option removes the product from categories and the store's search, but its page stays reachable by direct link. If the product will be back soon, it's more useful to keep it visible with the "out of stock" message, so customers know you carry it.
Step 2: stock on a product
On the product page, Inventory tab:
- SKU: the product's unique code. Use the same code as in your invoicing or inventory software, otherwise syncing has nothing to match products on.
- Under "Stock management", tick "Track stock quantity for this product".
- Under Quantity, enter the available quantity.
- Under "Allow backorders?" choose:
- Do not allow: the product can't be ordered at zero;
- Allow, but notify customer: it can be ordered, and the customer sees it's on backorder;
- Allow: it can be ordered and the customer sees no difference.
- Low stock threshold: a threshold of its own, if this product sells faster or slower than the rest.
- Sold individually: customers can buy only one per order.
"Allow" without a notice is risky: the customer thinks the product ships today and finds out days later that it isn't in stock.
Step 3: variable products
For a variable product (sizes, colours) you have two options:
- stock on the product: tick stock management on the parent product's Inventory tab, and all variations share the same quantity. Useful when you sell the same physical item in different versions (for example with or without gift wrapping);
- stock per variation: on the Variations tab open each variation, tick "Manage stock?" and enter its quantity. The normal choice for clothing and shoes, where each size has its own stock.
A variation without its own stock uses the parent product's stock, if stock management is turned on there.
When stock goes down and up
- Stock is reduced when the order reaches "Processing", "On hold" or "Completed". With cash on delivery and bank transfer, that happens right after the order is placed.
- Stock is restored when you cancel the order.
- On a refund, WooCommerce asks through the "Restock refunded items" checkbox whether returned products go back into stock. Tick it only if the returned goods can be sold again.
- On the order page, through the item editing buttons, you can reduce or increase stock manually for the products in that order.
Why stock doesn't match reality
- You also sell in a physical shop, on marketplaces or on another site and update WooCommerce by hand. The fix is automatic syncing with your inventory software: the SmartBill plugin, for example, can sync stock with SmartBill's inventory (SmartBill is a popular Romanian invoicing app; see SmartBill for WooCommerce).
- Unpaid orders keep stock locked. Check "Hold stock" and old "Pending payment" orders.
- A CSV import overwrote the quantities. Before a large import, back up and check the stock columns.
- Variations use the parent's stock without you noticing. Open a variation and check whether "Manage stock?" is ticked.
Reports and bulk editing
Analytics → Stock shows every product with its status and quantity, filterable by low or out-of-stock status. That's where you build your reorder list.
For quick changes to many products use Bulk edit in the product list (stock status, quantity, backorders) or CSV export and import under Products → Export / Import. With thousands of products, a CSV import is safer than a bulk-editing plugin that loads everything on one page.
Stock and store speed
A store with many products and variations runs many queries every time a category is displayed. If product lists load slowly, read the guide to a slow WooCommerce store: it covers what helps (Redis for repeated queries, HPOS for orders).
Your store on AYT
On AYT's plans you have daily backups kept in 3 locations: if an import ruins the quantities, you restore the site from the panel to the day before (you do lose the orders placed since, so note them down). To avoid getting there, test large imports first on a staging site created from the WordPress Toolkit. Redis is switched on from the panel as WordPress's object cache and cuts repeated database queries in stores with many products.
