November 2, 2026
Set low stock display to trigger on a real threshold you choose per product type, show it only when the count is genuinely at or below that threshold, and never show a number the inventory system did not produce. On Shopify that means a small Liquid condition reading actual inventory quantity, with variants handled individually. The moment a store displays Only 3 left on an item with 400 in the warehouse, the feature stops being information and becomes a lie with a conversion rate.
Low stock messaging works because scarcity is real information: a buyer deciding between ordering today and next week deserves to know the shelf is nearly empty. It also has the worst reputation of any product page element, because a decade of stores faked it, with countdown energy applied to warehouses full of stock. Customers now read Only a few left the way they read a sale banner: as weather, not news.
You can still use it, if the implementation is honest and the thresholds are thought through. The setup below is deliberately boring: real counts, per variant, with rules for the product types where a threshold helps and the ones where it misleads.
A threshold is a fraction of normal stock, not a universal digit. Three left means urgency on an item you usually stock fifty of, and it means Tuesday on an item you stock four of. Set thresholds in the theme settings or via metafields by product family: a percentage based rule, display when available stock drops below roughly ten percent of the typical holding, or an absolute number chosen per category by whoever manages that inventory.
Variants must be handled individually, because stock is variant level truth. A shirt with 200 units across sizes and 1 left in medium should show low stock when medium is selected and nothing when large is selected. Theme implementations that read the product's total inventory produce the classic false alarm, low stock shouted over a size run that is actually deep, and customers learn to discount it within one visit.
The standard pattern is a conditional in the product template that checks the selected variant's inventory quantity, confirms inventory is tracked and not set to continue selling when out of stock, and renders the message only when quantity is at or below the threshold. Show the exact count when it is very low, one or two, and a range phrase at the threshold band if exact counts make your operations team nervous about competitors reading stock levels. Exact counts convert better because they are checkable, and checkable is the whole ethic of doing this honestly.
Place the message near the buy button, in the same visual weight as other stock information, and pair it with the honest alternatives: a back in stock signup when the variant hits zero, and clear preorder labeling where you offer it. An alert that appears with no path forward at zero is a dead end dressed as urgency.
The trap is rarely a decision to lie. It is a threshold set once, a product line changed, a continue selling setting flipped during a busy week, and suddenly the message is firing on stock the store does not hold in the way the message implies. Audit the feature quarterly: pick twenty products showing the alert, compare against actual inventory, and include variant level spot checks. Any store unwilling to run that audit should remove the feature, because an unaudited urgency message drifts toward fiction by default.
Done honestly, low stock display is one of the few product page elements that respects the customer while it sells: real information, delivered at the decision point, that a buyer would thank you for if you could hear them. That is the standard. Everything else is a banner.
Related reading: Add a Backorder Notice on a Shopify Product Page That Buyers Actually Read, How to Add Recently Viewed Products to a Shopify Store, and Sticky Add to Cart on Shopify: Setup and Limits.
Exact numbers at very low counts, one to three, are more credible and more useful. A vague low stock at higher thresholds is reasonable where operations prefer not to publish precise levels. What matters is that either form is generated from real variant inventory, refreshed by the page's own data, never typed in by hand.
No, and showing it there is a category error, because stock is effectively unlimited or made after ordering. For those products the honest urgency equivalent is production and shipping time, displayed plainly. Scarcity messaging on an infinite product is the fake version in its purest form.
Check the inventory policy in the same condition that checks quantity: only render the message when the variant is tracked and its policy is to deny sales at zero. If your store uses continue selling for preorders, label those as preorders with dates instead, which is clearer for everyone including your support inbox.
Customers stop believing messages that prove false in their own experience, like a low stock item that is still there, fully stocked, a month later at the same warning. Honest thresholds survive because they resolve: the item sells out, or gets restocked and the message disappears. Accuracy is a retention strategy for the message itself.