Minion

How to show inventory quantities on Shopify product pages

Display Shopify stock information carefully, distinguishing variant quantity, sellable availability, inventory locations and backorder settings.

Reviewed December 2, 2026 · Minion

A stock message should help customers understand availability without suggesting a level of accuracy the storefront does not have. The selected variant's quantity and its ability to be purchased are related but different facts.

Choose the right message

Check whether your theme already supports an inventory block or low-stock message. Set a threshold that is useful to shoppers. Only show a precise quantity if it reflects the inventory the customer can actually buy.

Inventory can be spread across locations and affected by fulfillment rules or settings that allow selling when out of stock. A raw quantity from one Liquid property is not always the same as deliverable inventory for the shopper's destination.

Use the selected variant

For a custom implementation, read the actual selected variant and update the message with the theme's variant selection behavior. Check inventory tracking and the policy for selling beyond available stock before choosing text such as Sold out or Available to order.

Avoid exposing internal warehouse counts or treating all products as tracked in the same way. Products supplied through an app or another fulfillment service may need a different approach.

Test the purchasing behavior

Check an in-stock item, a sold-out option, an untracked product and an item that permits backorders. Switch variants and open a direct variant URL. The message, button state and cart result should agree.

Also test stock changes occurring between page load and checkout. The order process remains the final check on whether the item can be purchased. Do not imply that a storefront stock message reserves the item.

References

Put this into practice.

Minion connects Shopify availability messaging with product data and the inventory systems behind the storefront.

Talk to MinionExplore our services