Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Product in stock but checkout says unavailable: how to fix it

CNV-140High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A shopper sees an In stock label and an active add to cart button. They add the item, go to checkout, and get a message such as "item unavailable", "out of stock" or "quantity not available". The page promised something the checkout could not deliver.

This is a mismatch between two stock readings. The product page may show a cached copy, a theme-level label, or data from a feed. The cart and checkout check live inventory at the moment of purchase.

Why it costs you leads or sales

The shopper has already chosen the product, clicked an ad or link, and started to pay. An error at this late step feels like a broken promise. Many will not come back, and paid traffic to that product is wasted until you fix it.

Where the journey breaks
  1. Ad or link clickVisitor lands on product
  2. Product pageShows In stock
  3. Add to cartItem added
  4. CheckoutSays unavailable
  5. PaymentNever reached
  6. Order confirmationNo sale, no purchase tag

The product page looks fine; the failure appears only at checkout.

Checkout starts that reach paymentExample numbers
Checkout starts that reach payment (example)Healthy product: 60 %; Stock mismatch: 5 %02346605Healthy productStock mismatch%

Example: illustrative numbers only. Share of checkout starts that reach payment for an affected product versus a healthy one.

How to check if your site has it

Run the full path yourself, as a customer would, and compare what each step says about stock.

Reproduce the mismatch
  1. Open the product in a private window

    This avoids your logged-in admin view and your own cache. Note the stock label and which variant is selected.

  2. Add it to the cart and go to checkout

    Try every variant (size, colour) that is advertised, not just the default.

  3. Note the exact error text

    "Out of stock", "not enough stock" and "unavailable in your region" point to different causes.

  4. Compare with admin stock

    Open the product in your platform admin and check the quantity, the track quantity setting and the stock status for that variant.

  5. Try a different country and quantity

    Shipping rules, locations and quantity limits can make an item unavailable only for some shoppers.

Common causes and how to spot them
CauseSign
Cached product pageAdmin shows 0 stock but the public page still says In stock; it fixes itself after a cache purge
Stock only at another locationStock exists, but not at a location that ships to the shopper
Variant stock at 0Default variant is fine, a specific size or colour fails
Reserved or held stockItems sit in carts or pending orders and are held back
Sync or feed delayStock changes in an ERP, warehouse tool or feed take hours to appear
Hard-coded labelTheme or page builder shows In stock regardless of inventory

How to fix it

First decide where stock truly lives (your store admin, an ERP, or a warehouse tool). Then make the product page read from that source, and stop caching the stock label for long.

Fix by platform
  1. Check WooCommerce stock settings

    Go to WooCommerce > Settings > Products > Inventory. Review Manage stock, Hold stock (minutes) and Out of stock threshold. A long hold time keeps stock reserved by unpaid orders.

  2. Check each variation

    In the product editor, open Variations and confirm Manage stock, quantity and Stock status for every variation.

  3. Purge caches

    Clear your caching plugin and any server or CDN cache. Exclude the cart, checkout and account pages from caching, and avoid long caching of product pages if stock changes often.

  4. Review sync plugins

    If a plugin or ERP pushes stock, check its last run and error log.

Example: read live stock for a product page label (custom code)javascript
async function refreshStock(sku) {
  const res = await fetch('/api/stock?sku=' + encodeURIComponent(sku), { cache: 'no-store' });
  const { available } = await res.json();
  const label = document.querySelector('[data-stock-label]');
  const button = document.querySelector('[data-add-to-cart]');
  label.textContent = available > 0 ? 'In stock' : 'Out of stock';
  button.disabled = available <= 0;
}
refreshStock(document.body.dataset.sku);

How to confirm it's fixed

Confirmation checks
  • In a private window, every advertised variant adds to the cart and reaches checkout without an availability error
  • The stock label on the product page matches the admin quantity
  • A product you set to 0 stock now shows out of stock on the public page after the cache time passes
  • Checkout works for the main shipping countries you sell to
  • A test order (using your platform's test mode) completes and the stock count drops by the right amount

How to prevent it happening again

Prevention habits
  • Keep one source of truth for inventory and document it
  • Exclude cart and checkout from caching and keep product page cache short
  • Check sync jobs and feeds after each change to inventory tools
  • Run a test purchase on your top products after theme, plugin or app updates
  • Pause ads to products that are out of stock until they are back
Stock handling

Before

  • Page label cached for hours
  • Error appears only at checkout
  • Ads keep sending traffic to unavailable items

After

  • Page and checkout read the same stock
  • Unavailable items are flagged on the product page
  • Test purchases catch mismatches early

How FunnelGuard handles this

FunnelGuard detects this only partly. It runs a test purchase path on a schedule: a robot visitor opens the product, adds it to the cart and moves through checkout, checking each step. If the cart or checkout fails to proceed on the product it tests, the failure is re-checked from a second region and you get one alert with a screenshot and a likely cause.

What it does not do: it only covers the products, variants and countries set up in its journeys, so it will not notice a mismatch on a variant or product it does not test. It does not compare your admin stock numbers with the page label, and it does not stop before payment unless test mode is set up, so it never enters real card details.

To cover the rest by hand, test your top-selling and most-advertised products and each variant in a private window after any inventory, theme or app change, and compare the page label with admin stock. You can start with the Free plan (1 site, 2 journeys, daily checks) or use the free read-only website audit.

Questions people ask

Why does my product page say in stock but checkout says unavailable?

The page and the checkout read stock from different places. The page is often cached or fed by a delayed sync, while checkout checks live inventory. Compare the admin quantity with the public page and purge the cache to confirm.

Why does only one variant say unavailable at checkout?

Stock is usually tracked per variant, so a size or colour can be at 0 while the default variant has stock. Open each variant in your admin and check its quantity, stock status and location.

Can caching cause an item to show as in stock when it is not?

Yes. If a caching plugin, server or CDN stores the product page for hours, the old In stock label stays visible after stock runs out. Keep product page cache short and never cache cart or checkout.

Why does Shopify say an item is unavailable when inventory shows stock?

Stock may be at a location that does not fulfil orders for the shopper's market, or the product may not be in a shipping profile for their country. Check the inventory location and shipping and delivery settings.

Can held or reserved stock cause this in WooCommerce?

Yes. WooCommerce holds stock for unpaid orders for the number of minutes set under Inventory settings. A long hold time can make an item look available but fail for the next shopper.

How do I test whether my checkout rejects in-stock products?

Open the product in a private window, add each variant to the cart and go to checkout in the countries you sell to. Note any availability error and compare it with the admin stock.

Can FunnelGuard detect in-stock items that fail at checkout?

Partly. It runs a scheduled test purchase path on the products set up in its journeys and alerts you if the cart or checkout fails. It does not check every variant or compare admin stock with the page label.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: test purchase path.

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.