WooCommerce Variable Product Out of Stock? Seven Causes, in Order
A variable product that reads out of stock with stock in its variations is usually a parent tracking its own empty quantity. The rule WooCommerce uses, a table of where each figure comes from, seven causes in checking order and a worked T-shirt case.
In this article15 sections
A WooCommerce variable product shows out of stock while its variations have units for one of a few reasons: the parent product is tracking its own (empty) stock, the variations have no price, a variation’s status was set by hand, the out of stock threshold is above their quantity, or a cached status is stale. The first is the usual one: “Stock management” is ticked on the parent with a quantity of zero or nothing.
Below is the rule WooCommerce uses to decide a variable product’s status, a table that tells you where each number comes from, the seven causes in the order worth checking, and a worked case with a six-variation T-shirt.
How WooCommerce decides a variable product’s stock status#
A variable product has two layers of stock settings: the parent’s Inventory tab, and each variation’s own fields. Which layer decides the status depends on one tick box on the parent.
If the parent does not track stock, its status is worked out from the variations. The WooCommerce source is short on this point: if any variation is in stock, the product is in stock; otherwise, if any variation is on backorder, the product is on backorder; otherwise it is out of stock.
If the parent does track stock, the variations are not consulted. The parent’s status comes from the parent’s own quantity, exactly as it would for a simple product. A parent with a quantity of 0 is out of stock, however many units its variations hold.
Where each variation gets its quantity and status#
Each variation has a “Manage stock?” tick box of its own. Combined with the parent’s “Stock management” box, that gives four cases.
| Parent tracks stock | Variation manages stock | Variation’s quantity comes from | Variation’s status comes from |
|---|---|---|---|
| No | No | Nowhere: no quantity | Its own Stock status dropdown |
| No | Yes | Its own Stock quantity | Its quantity against the threshold |
| Yes | No | The parent’s Quantity, shared | The parent’s status, copied down on save |
| Yes | Yes | Its own Stock quantity | Its quantity against the threshold |
Row three is the shared pool: a variation that does not manage stock, under a parent that does, reads the parent’s quantity and backorder setting as if they were its own. When the parent is saved, WooCommerce writes the parent’s status onto every such variation. Whether that arrangement suits your product is a separate decision, covered in parent-level or per-variation stock. Here we only need it to read the symptoms.
Cause 1: the parent tracks stock with an empty quantity#
This accounts for most cases of a WooCommerce variable product out of stock with stock plainly sitting in the variations. Someone ticked “Stock management: Track stock quantity for this product” on the parent’s Inventory tab, perhaps while it was still a simple product, or an import set it, and the Quantity field is 0 or blank. A blank counts as zero.
The parent now has a status of its own, out of stock, and it stops looking at its variations. Variations that manage their own stock keep their figures, but the product is listed as out of stock in the shop, and vanishes from it altogether if out-of-stock items are hidden. Variations that do not manage stock inherit the empty parent pool and are out of stock too.
The fix takes ten seconds. Open the product, go to Inventory, untick “Stock management” (or enter the real shared quantity if you want a pool), and update. On save the status is recalculated from the variations.
Cause 2: every variation really is out of stock#
Before hunting for a fault, rule out the correct answer. With the parent not tracking stock, the product is out of stock only when no variation is in stock or on backorder. Open the Variations tab and check each one, including the ones you have forgotten about.
Watch for variations that manage stock with an empty quantity. Bulk-created or imported variations often have “Manage stock?” ticked and nothing in “Stock quantity”, which WooCommerce reads as zero. Six variations created that way are six out-of-stock variations, and the product follows them. Fill the quantities, or untick “Manage stock?” on variations you do not count.
Cause 3: variations with no price#
A variation without a price is not a stock problem, but it produces the same message. WooCommerce only treats a variation as visible when it is published and its price is not empty. If none of the variations qualifies, the product page prints “This product is currently out of stock and unavailable.” in place of the dropdowns.
So that exact sentence, on a product whose stock figures look fine, usually means prices are missing. Open each variation and check that “Regular price” is filled in. The related symptoms, such as dropdowns with no button, are sorted by cause in WooCommerce variations not showing.
Cause 4: a variation’s status was set by hand#
A variation that does not manage stock (and has no stock-tracking parent above it) has no quantity to work from. Its status is whatever the “Stock status” dropdown on that variation says: In stock, Out of stock or On backorder. Nothing changes it except a person or an import.
That makes it easy to strand. Someone marks Medium as out of stock during a supplier delay, the delivery arrives, and nobody flips it back. If every variation has been left that way over time, the whole product reads out of stock with full shelves. Bulk actions on the Variations tab can set the status of all variations at once, which is the quick repair, and the reason to prefer managed quantities in the first place.
Cause 5: the out of stock threshold#
WooCommerce → Settings → Products → Inventory has a field called “Out of stock threshold”. A managed product or variation counts as in stock only while its quantity is above that number. Set the threshold to 2 and a variation holding 2 units is out of stock.
| Threshold | Variation quantity | Status |
|---|---|---|
| 0 | 1 | In stock |
| 2 | 3 | In stock |
| 2 | 2 | Out of stock (or on backorder if allowed) |
| 5 | 4 | Out of stock (or on backorder if allowed) |
Shops raise this figure as a safety margin against overselling, then forget it. A catalogue of slow sellers held at one or two units per size will look sold out across the board. Note the setting’s own warning: changing it does not re-evaluate existing products until they are next saved.
Cause 6: the catalogue is hiding it#
“Out of stock visibility: Hide out of stock items from the catalog”, on the same settings screen, does two things to variable products. It removes a product whose status is out of stock from the shop and category pages, and it drops out-of-stock variations from the choices on the product page.
Combined with cause 1, the effect is dramatic: a product with stock in every size disappears from the shop, because the parent’s own empty pool marks it as out of stock and the visibility setting then hides it. Nothing looks broken in the admin; the product is simply not there. The side effects of this setting on single options are covered in hiding out of stock variations.
Cause 7: a stale status after an import or database edit#
Statuses are recalculated when a product is saved through WooCommerce. A tool that writes stock straight into the database, a half-finished import, or a restore from backup can leave the stored status behind the quantities. The numbers say 12; the status still says out of stock.
Two things clear it. Opening the product and pressing Update forces the recalculation for that product. For many products, go to WooCommerce → Status → Tools and run “WooCommerce transients” to clear cached data and “Product lookup tables” to rebuild the tables that shop filters and sorting read. If a page cache or CDN sits in front of the shop, purge it as well, or you will be testing yesterday’s page.
Worked example: a T-shirt with stock that reads sold out#
A shop imports a T-shirt with three colours in two sizes, six variations in all. Each variation has “Manage stock?” ticked and a quantity of 5, so there are 30 shirts. The shop page shows it as out of stock.
| Check | Finding | Verdict |
|---|---|---|
| Variation quantities | 5 each, 30 in total | Not cause 2 |
| Variation prices | All set | Not cause 3 |
| Out of stock threshold | 0 | Not cause 5 |
| Parent Inventory tab | Stock management ticked, Quantity blank | Cause 1 |
The import file carried a “manage stock” flag on the parent row with no quantity. WooCommerce took the blank as zero, set the parent out of stock and stopped reading the variations. Unticking the box and updating the product fixed it: with the parent no longer tracking stock, the status was rebuilt from the six variations, all in stock.
Had the shop wanted a single pool instead, the fix would be different: keep the box ticked, enter 30 in the parent’s Quantity, and untick “Manage stock?” on each variation.

The checklist, in the order worth checking#
- Parent Inventory tab. Is “Stock management” ticked? If yes, is the Quantity real? Either untick it or fill it.
- Variation prices. Every variation needs a regular price.
- Variation quantities. No blanks on variations that manage stock.
- Variation statuses. On unmanaged variations, read the Stock status dropdown.
- Out of stock threshold. Compare it with your typical quantity per variation.
- Out of stock visibility. Know whether hidden products are part of what you are seeing.
- Update the product, then clear caches. Saving recalculates; tools and cache purges remove stale copies.
Stop at the first one that explains it. In practice the first three settle nearly every case.
Shop page says out of stock, product page does not#
A split between the two pages narrows things down. The shop and category pages show the parent’s status. The product page works from the list of available variations. So a product that carries an out of stock badge in the grid yet lets you pick and buy a size has a parent status that disagrees with its children: cause 1, or cause 7.
Some themes add their own sold-out ribbon, drawn from the parent’s status alone. If the badge survives after the parent is corrected and caches are cleared, switch briefly to a default theme to see whether the theme is the one drawing it.
A single size shows out of stock when it should not#
When one option is wrong and the rest are fine, look at that variation only. If it manages stock, check the quantity against the threshold. If it does not, check its status dropdown. Then check for units tied up elsewhere: WooCommerce holds stock for unpaid orders for the number of minutes in “Hold stock (minutes)”, and an order sitting on hold has already taken its units.
If the variation’s figure is simply wrong, correct it from a count instead of a guess. Our guide to counting stock by variation shows how to check sizes and colours without mixing them up, and WooCommerce stock status explains the three values in full.
Creating variations that start with the right stock#
Most of the causes above are planted on the day the product is created: a blank quantity here, a missing price there, a stray tick on the parent. WooCommerce’s editor makes that easy, because each variation is a separate panel and nothing warns you about an empty field.
Quick Variable Products is our free plugin for creating variable products on one screen. You type the attribute values, it generates every combination as a row, and each row has its own stock, SKU and price fields in front of you, with “Set all quantities” to fill the column in one go. An empty cell is hard to miss in a grid.

If the product should share one quantity, the free version has an opt-in shared stock pool: a single quantity managed on the parent that every variation draws from, using WooCommerce’s own parent-managed stock. You choose it on purpose, which is the opposite of cause 1. The plugin is free on WordPress.org, and our free variation CSV generator does a similar job for imports.
The free version creates new products; it does not repair existing ones. Quick Variable Products Pro (from $59 a year) adds a catalogue editor that bulk edits stock and prices of existing variations, with a before and after preview and an undo.
WooCommerce variable product out of stock: frequently asked questions#
Why does my variable product show out of stock when variations have stock?
Most often because the parent product has Stock management ticked on its Inventory tab with a quantity of zero or blank. The parent then has its own out of stock status and WooCommerce no longer derives it from the variations. Untick the box, or enter the real shared quantity, and update the product.
How does WooCommerce set the stock status of a variable product?
If the parent does not track stock, the product is in stock when any variation is in stock, on backorder when none is in stock but one is on backorder, and out of stock otherwise. If the parent tracks stock, its status comes from the parent’s own quantity and the variations are not consulted.
What does This product is currently out of stock and unavailable mean?
WooCommerce prints that sentence on a variable product page when no variation is available to show. That happens when every variation is out of stock and hidden, or when the variations are unpublished or have no price. Check that each variation has a regular price before looking at stock figures.
Why is my variable product missing from the shop page?
With Hide out of stock items from the catalog switched on, any product whose status is out of stock is removed from shop and category pages. A variable product whose parent wrongly reads out of stock disappears with it. Correct the parent’s stock settings and the product returns after the next save.
Does the out of stock threshold affect variations?
Yes. A variation that manages stock is in stock only while its quantity is above the Out of stock threshold in WooCommerce, Settings, Products, Inventory. With a threshold of 2, a variation holding 2 units is out of stock. Lower the threshold or raise the quantities, then resave the affected products.
How do I refresh stock status for many variable products?
Saving a product through WooCommerce recalculates its status, so open and update the affected products once their settings are right. If statuses were left stale by an import or a database edit, also run the WooCommerce transients and Product lookup tables tools under WooCommerce, Status, Tools, and purge any page cache so the shop shows the new values.
