Documentation

Show remaining stock and an urgency message

Show each variant's stock with the Stock block, add an urgency message to the cart or a countdown timer, while staying honest with your customers.

Knowing that only a few pieces are left helps a customer make up their mind. Story Theme shows the stock of the selected variant on the product page, as a dot or a bar, and can remind shoppers in the cart that an item is almost sold out. These messages work best when they're true: that's the approach this article recommends.

Show stock on the product page

The Stock block is already included on the product page that ships with the theme, below the variant picker.

  1. Open Online Store > Themes > Edit theme, template Products > Default product.
  2. In the Product page section, expand the Group and click Stock.
  3. In Stock type, leave Stock managed on Shopify.
  4. Set Running low at or below: under this number (10 by default), the low stock message appears.
  5. Click Save.
The buy column with the message "Plus que 3 en stock" and an orange dot below the size picker
The buy column with the message "Plus que 3 en stock" and an orange dot below the size picker

The block uses your store's colors. On the Lumyx demo store, with its dark background, the same message appears just above the buy button:

"Plus que 7 en stock" with an orange dot, above the Add to cart button of the Lumyx demo store
"Plus que 7 en stock" with an orange dot, above the Add to cart button of the Lumyx demo store

The messages

The Messages group contains one text per situation. The default texts are:

SituationSettingDefault text
Low stockLow stockOnly [quantity] left in stock
In stockIn stockIn stock, ready to ship
Sold without stockSold without stockAvailable to order, ships as soon as it is back
Sold outSold outSold out
The low stock message "Plus que 4 en stock" on the Maison Mocha demo store
The low stock message "Plus que 4 en stock" on the Maison Mocha demo store
A custom "In stock" message with a green dot on the Softy demo store
A custom "In stock" message with a green dot on the Softy demo store

[quantity] is replaced with the number left. You choose which messages to show with Show a message when in stock, … when sold without stock and … when sold out (the last one is unchecked by default, since the buy button already shows the item is out of stock).

The indicator

In Indicator, choose Dot (default), Bar or None. With Bar, the Full bar at setting sets the stock level at which the bar is full (30 by default). Each situation has its own color (In stock in green, Low stock in orange…), and the block's Style can be Plain, Filled or Outline.

Screenshot to take — Theme editor > Products > Default product > Product page > Group > "Stock" block selected: settings panel open on Stock type (Stock managed on Shopify), Running low at or below, the Messages group and the Indicator group

Remind shoppers of urgency in the cart

The Urgency message block can be added to the cart drawer, the cart page or the added-to-cart popup.

  1. In the editor, open the Cart drawer section (or the Cart template for the cart page).
  2. Click Add block and choose Urgency message.
  3. In Show when, choose An item is running low, then set Running low at or below (5 by default).
  4. Keep the default text or adapt it: "Only [quantity] left in stock for [product]". [quantity] is the real stock of the item closest to selling out, [product] its name.
In the Lumyx demo store cart drawer, an urgency message "Plus que 7 en stock : Lumyx Halo" below the item, above a warranty option to check
In the Lumyx demo store cart drawer, an urgency message "Plus que 7 en stock : Lumyx Halo" below the item, above a warranty option to check

The same block can also show a number kept up to date by an app or by Shopify Flow in a product metafield (A product has a number in its metafield, for example the number of recent sales). Finally, it offers a random number ([nbr]): like the simulated figure, it doesn't correspond to anything real, so avoid it.

To set everything up in the cart, see Messages and reassurance in the cart.

Add a countdown timer

A countdown is justified when a deadline really exists: the end of a sale, today's shipping cut-off time.

  • For a real offer end date, use the countdown in an announcement bar message, which is set with a precise date and time, or the Cart countdown block, which counts down to a date or to today's cut-off time.
The Lumyx demo store announcement bar: a launch offer message followed by the time left until its end date
The Lumyx demo store announcement bar: a launch offer message followed by the time left until its end date
The Cart countdown block at the top of the Lumyx demo store cart drawer: days, hours, minutes and seconds until the end of the launch offer
The Cart countdown block at the top of the Lumyx demo store cart drawer: days, hours, minutes and seconds until the end of the launch offer
  • For the shipping cut-off time, the Delivery date block shows "Order within … to get it by …": see Estimated delivery date.
  • The Countdown block (Selling points category) is a timer of a few minutes specific to each visitor (Minutes setting), which restarts according to When timer expires:. It doesn't match any real deadline: only use it for an offer that's genuinely limited for each visit, and don't present it as the end of a promotion.

Learn more