Symptoms
- The product or variant shows a positive stock level in the control panel, but the storefront shows it as out of stock, hides it, or will not add it to the cart.
- One option (a size or colour) is missing from the product page or is labelled out of stock, while other options of the same product look fine.
- The product page shows a different number than the control panel, or shows no stock number at all.
- An order created through the API for more than the available stock plus the backorder limit fails with a
409and the message "Quantities of one or more products are out of stock or did not meet quantity requirements." The detail line reads like "Insufficient stock of variant(id: ...), available stock: ..., available quantity for backorder: ...". - The product looks in stock on the product page but not in product filtering, the cart, or checkout. This happens most often on stores with more than one inventory location.
Cause
The storefront does not show the raw quantity you typed into the control panel. It shows what is available to sell for the exact variant, at the locations the storefront counts, after your inventory settings are applied. The common reasons the two differ, most likely first:
- Tracking is set at a different level than the stock you entered. A product can track inventory on the product level or on the variant level. If tracking is per variant, the stock of each variant SKU is what counts, not a number at the product level.
- The stock sits in a location the storefront does not count. By default, Stencil storefronts count stock only from the default location. If the default location is empty, the product shows as out of stock even when other locations hold inventory. A location that is not
enabledalso does not count toward the available-to-sell total in the Storefront APIs. - Safety stock or backorder settings change the total. BigCommerce calculates
available_to_sell = total_inventory_onhand - safety_stock + backorder_limit, so safety stock lowers the number shoppers can buy and a backorder limit raises it. - Out-of-stock and display settings. These decide whether a product or option is hidden, labelled, or shown with a stock level, and they can differ per channel.
- Stock moved since you looked. Depending on settings, stock decrements when an order is placed or only when its status changes to Completed or Shipped. A connector or app may also have written a new value.
Resolution
These steps only read settings until step 6, so you can work through them safely.
- Find the exact variant. Note the SKU of the option combination the shopper picked. Test that combination, not the product as a whole.
- Check the tracking level. Go to Products › All products, edit the product and open Inventory. Confirm Track Inventory is on and whether it is set On the product level or On the variant level. If it is per variant, open Variations and check the stock of that variant SKU.
- Check which location holds the stock. If you use multiple locations, compare the default location's quantity for that SKU with the others. The
GET /v3/inventory/itemsendpoint returns inventory across all locations, andGET /v3/inventory/locations/{location_id}/itemsreturns one location. Each location entry showsavailable_to_sell,total_inventory_onhandandqty_backordered, and itssettingsobject holdssafety_stockandbackorder_limit. See BigCommerce inventory locations. - Review storefront inventory settings. Under Settings › Inventory, check "When a product is out of stock" (Hide the product, Hide the product but leave the product page accessible, Redirect to category page, or Don't do anything) and "When an option is out of stock" (Hide the option, Mark the option as out of stock, or Don't do anything). Then check Stock level display: Show stock levels, Only show stock levels when stock is low, or Don't show stock levels. The Inventory Tracking guide describes each option.
- Check channel overrides. On multi-storefront stores,
GET /v3/settings/inventory?channel_id={id}returns that channel's settings. Anullfield means the channel uses the global value. Compare the channel the shopper uses with the global settings. See the inventory settings API reference. - Correct the cause, not just the number. Move or add stock to the default location, fix the tracking level, or adjust the setting that hides the item. If you need stock from all locations to count, BigCommerce support can enable aggregated stock. BigCommerce notes that default themes need customizing for multi-location stock to work end to end on product filtering, cart, checkout and orders pages.
- Verify. Open the product in a private browser window on the affected storefront, select the same variant, add the quantity the shopper wanted to the cart and continue to checkout. Then re-read the inventory with the API to confirm the value you set stuck.
How to prevent it
- Pick one tracking level per product and keep imports and connectors consistent with it.
- On multi-location stores, decide which location feeds the storefront and keep the default location stocked, or ask support about aggregated stock.
- Write down your global inventory settings and any channel overrides so changes are deliberate.
- Make one system the source of truth for stock so manual edits do not fight a sync.
B2B and ERP angle
When an ERP connector writes inventory, the storefront reflects the last write. Before you correct a number by hand, compare the connector's most recent write with a fresh read-back, or the next sync may overwrite your change. Map ERP warehouses to BigCommerce locations deliberately, and decide whether ERP safety stock should flow into BigCommerce safety stock. If an update reports success but a read still shows old stock, see an inventory API update succeeds but a read returns old stock.
Related problems to check
Related articles
- An inventory API update succeeds but a read returns old stock
- An option needs its own SKU or a different product image
- A visible product is missing from a storefront
- Adding variants to existing products fails in the modern CSV importer
- A product import creates a second record or updates the wrong item
More in the BigCommerce knowledge base, including every article on Catalog, pricing and search.