Ecom Store Pro

How do you show “Only X left in stock” on a Shopify product page?

Published ·
At a glance
Short answer
Horizon's Product inventory block shows “N left” for tracked stock from 1 to the low-stock threshold, once you add it to the product template.
Default template
Horizon 4.5.0's default product template omits the block; add it
Threshold range
Low stock threshold runs 0–100, default 10
No number (Horizon)
Untracked variants, or tracked ones selling at zero, read “In stock”
Dawn (older theme)
Inventory status block; with Inventory count on, its text reads “Low stock: N left”

How do you add the stock counter in Horizon?

Horizon 4.5.0 leaves the Product inventory block out of its default product template and prints “N left”, not “Only N left” (theme code, read November 24, 2026).

  1. From your Shopify admin, go to Online Store, click Edit theme next to Horizon, and pick your product template from the drop-down.
  2. Under Product information, open the Details group, click Add block, and choose Product inventory from the Product list or Search blocks.
  3. Set Low stock threshold (0–100, default 10), keep Show low stock quantity on for the number, and click Save.
In Shopify adminOpen in your store
  1. Online Store
  2. Edit theme
  3. Product information
  4. Details
  5. Add block
Step 2: Product inventory is listed in the Product group of the block picker.
In Shopify adminOpen in your store
  1. Online Store
  2. Edit theme
  3. Product information
  4. Details
  5. Product inventory
Step 3: Low stock threshold and Show low stock quantity in the block's settings.

What do shoppers see, and when is there no number?

The block reads the variant the shopper selects:

Selected variantBlock shows
Tracked, above the thresholdIn stock
Tracked, 1 up to the threshold“N left” (“Low stock” if Show low stock quantity is off)
Tracked, zero, selling stopsOut of stock
Tracked, zero, selling continuesIn stock
Not trackedIn stock

Horizon 4.5.0 theme code, read November 24, 2026.

To show a count, turn on Inventory tracked (Track quantity in Shopify's docs) on each variant's Inventory card; leave Sell when out of stock (Continue selling when out of stock) off so zero reads “Out of stock”.

In Shopify adminOpen in your store
  1. Products
  2. Product
  3. Inventory
Inventory tracked must be on for a count; Sell when out of stock sits below the locations table.

Shopify suggests not tracking digital products, services, made-to-order products and gift cards, and an untracked product shows no count.

With several locations, Shopify's multi-location help page says the online quantity is what customers see in your online store; it doesn't say whether the block's number matches it.

What if your theme isn't Horizon?

Dawn 16.2.0 (read November 24, 2026) uses an Inventory status block (Low inventory threshold 0–100, default 10), with Inventory count on, showing “Low stock: N left”, and “N in stock” above the threshold.

On other themes, check Add block for a built-in inventory block first; Dawn's is one example.

Themes without an inventory block can use an app such as Bolt: Low Stock Counters or Scarcity! Low Stock Counter (listings seen November 24, 2026).

Or add custom Liquid that tests variant.inventory_management: without tracking, variant.inventory_quantity returns the number of items sold.

About This Article

Related questions

Online store & themes
How do you show products on your Shopify homepage?

Add a Featured collection section in the theme editor, pick a collection, and set how many products it shows (1–16 in Horizon).

November 10, 2026

Online store & themes
How do you reuse FAQ answers across Shopify products with a metaobject?

Link FAQ metaobject entries to products with a List of entries metafield; the theme editor adds every entry in it to the block setting you connect.

October 30, 2026

Online store & themes
How do you hide the Add to cart button on one Shopify product?

Hide Add to cart on one product's page by assigning a not-for-sale template with Buy buttons hidden; not for vintage themes.

October 11, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.