Magento 2 says out of stock when stock is available. How to trace salable quantity
Twelve lamps on the shelf, none available online
A customer calls about a blue desk lamp. The warehouse supervisor can see twelve boxes, yet the customer cannot add one to the cart. Before anyone increases the quantity in Admin, find out how many of those lamps already belong to open orders.
Consider a website selling from one source, with backorders disabled and an out-of-stock threshold of zero. Two accepted orders for six lamps each can use up the entire salable quantity. All twelve boxes can still be on the shelf. Entering twelve more units as a delivery would let the store promise the same lamps twice.
Trace the variant through the website stock
- Record the product URL, selected colour or size, website and number of units requested. For a configurable product, identify the simple SKU of the selected variant.
- Find that SKU under Catalog → Products. Read Salable Quantity for the stock serving that website. Another sales channel can show a different figure for the same item.
- Under Stores → Inventory → Stocks, check which sources feed that stock and which website uses it. On the product, check the quantity and stock status at each assigned source. A delivery received at a wholesale-only location may leave the retail website unchanged.
Follow one order through shipment
When the first six lamps ship, the source quantity drops to six and a compensating reservation offsets the reservation for those shipped units. The other six are still committed to the second order. Zero available online is still the expected result. If the second order is then cancelled in full before shipment, its reservation should be released. In this example, six units become available to buy.
Compare the times of the order, shipment and most recent ERP update. If availability changes immediately after a feed runs, establish whether the feed sends physical inventory or a figure that already deducts open orders. Subtracting the same commitment in two systems can understate availability.
If salable quantity is positive but the cart refuses the item
Try one unit of the same variant on the same website. If one succeeds and two fail, check quantity limits, purchase increments and remaining salable units. If the cart accepts the item but the category page still says it is unavailable, capture both results with timestamps. Your developer now has a specific discrepancy to investigate in indexing or storefront caching.
For a support request, include the SKU, website, source, salable quantity and relevant order numbers. For feed issues, see tracking Magento and ERP synchronisation. Adobe documents the underlying reservation lifecycle.