Skip to content
FunnelGuard

Fix guide by FunnelsGuard

WooCommerce showing all products out of stock: how to fix it

OPS-256High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Every product, or nearly every product, shows "Out of stock" and the Add to cart button is gone or disabled. The shop looks normal otherwise, so the problem is easy to miss. It happens in WooCommerce and in Magento (Adobe Commerce).

Common causes: stock management was switched on with quantities of 0, a CSV import or ERP/inventory sync wrote zeros, a plugin or update changed stock settings, or in Magento the stock indexer or a source/stock assignment is wrong.

Why it costs you leads or sales

Visitors can't buy what you show as unavailable. Paid traffic keeps landing on dead product pages, so you pay for clicks that cannot convert. Because the site doesn't crash, no error alert fires, and the loss can run for days.

Where the sale is lost
  1. Ad or search clickVisitor lands on a product
  2. Product pageShows Out of stock
  3. Add to cartButton missing
  4. CheckoutNever reached
  5. OrderNo sale

The stock status breaks at the product page, so every later step is lost.

Daily orders around a stock faultExample numbers
Daily orders around a stock fault (example)Normal day: 24 orders; Day 1 of fault: 3 orders; Day 2 of fault: 1 orders; After fix: 23 orders0918243123Normal dayDay 1 of faultDay 2 of faultAfter fixorders

Example: illustrative numbers for a small store. Orders drop to near zero while products show out of stock.

How to check if your site has it

Quick checks
  1. Open product pages while logged out

    Use a private window and look at three or four products, including best sellers. Check for the out-of-stock label and a missing Add to cart button.

  2. Check the product list in the admin

    WooCommerce: Products > All Products, look at the Stock column. Magento: Catalog > Products, check Quantity, Salable Quantity and Stock Status.

  3. Look for a recent change

    Think about the last import, sync run, plugin update or setting change before the problem began.

  4. Check for caching

    If the admin shows stock but the front end says out of stock, a cache or (in Magento) a stuck indexer is likely.

How to fix it

Restore stock by platform
  1. Check global stock settings

    Go to WooCommerce > Settings > Products > Inventory. Review Manage stock and Out of stock threshold. A threshold higher than your quantities marks everything out of stock.

  2. Fix the stock status in bulk

    In Products > All Products, select products, choose Bulk actions > Edit, and set Stock status to In stock. If Manage stock is on, set real quantities instead.

  3. Stop the source of zeros

    Pause or review any inventory sync plugin, ERP connector or scheduled import. Fix its mapping so it does not write 0 or blank quantities, then re-run it.

  4. Clear caches

    Purge your caching plugin, server and CDN caches, then recheck as a logged-out visitor.

WP-CLI: list products marked out of stock (read-only check)bash
wp wc product list --user=admin --stock_status=outofstock --fields=id,name,stock_quantity --format=table

How to confirm it's fixed

Confirmation checklist
  • Product pages show In stock and an Add to cart button when logged out
  • Stock quantities in the admin match your real inventory
  • Add to cart works and the cart page loads
  • Caches and CDN are purged
  • The sync or import that caused it ran again without writing zeros
Product page before and after

Broken

  • Out of stock label on every product
  • No Add to cart button
  • Ad clicks go nowhere

Fixed

  • Correct stock status per product
  • Add to cart works
  • Orders resume

How to prevent it happening again

Prevention
  • Test imports and syncs on a staging copy before running them live
  • Keep a recent backup before updates and bulk changes
  • Review stock settings after plugin or extension updates
  • Set a low-stock and out-of-stock email in WooCommerce Inventory settings
  • Monitor key product pages with a scheduled check

How FunnelGuard handles this

FunnelGuard detects this issue today. A robot visitor loads your key product pages on a schedule and runs the add-to-cart journey. The check looks for out-of-stock text that should not be there (a text-absent check). If that text appears, or the journey cannot continue, the failure is re-checked from a second region and then one alert goes out with a screenshot and a likely cause.

It checks the pages you set up, so choose a few best sellers. It does not read your inventory database. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

Questions people ask

Why is my WooCommerce store showing everything as out of stock?

The usual causes are a stock threshold set too high, Manage stock enabled with quantities of 0, or an import or sync that wrote zeros. A plugin update can also change stock settings. Check WooCommerce > Settings > Products > Inventory and the Stock column in Products first.

How do I bulk change products to in stock in WooCommerce?

Go to Products > All Products, select the products, choose Bulk actions > Edit and set Stock status to In stock. If Manage stock is on, set real quantities instead. Back up first.

Why does the admin show stock but the shop says out of stock?

This points to a cache or, in Magento, a stuck indexer. Purge page, server and CDN caches. In Magento, run bin/magento indexer:status and reindex any invalid indexes.

Why are all my Magento products out of stock after an upgrade?

After an upgrade, indexers may be invalid or source and stock assignments may have changed. Check indexer status, reindex, and confirm each product's source quantity is assigned to the stock linked to your website.

Can an inventory sync plugin mark all products out of stock?

Yes. If the mapping is wrong or the source feed is empty, the sync can write 0 or blank quantities to every product. Pause it, fix the mapping, restore stock and re-run.

How can I know quickly when my products show out of stock?

Use a scheduled check that loads product pages and looks for out-of-stock text or a missing Add to cart. FunnelGuard does this and sends an alert with a screenshot after a second-region re-check.

Does an out-of-stock fault hurt my ad spend?

Yes. Paid clicks still land on product pages, but visitors cannot buy, so you pay for traffic that cannot convert until the stock status is fixed.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: text_absent.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.