Skip to content
All articles

Shopify

Real "only N left" and "N sold" on Shopify product pages

How "only 3 left" and "18 sold in the last 24 hours" lines are usually made, how to check yours, and how to show numbers that come from your own Shopify inventory and orders.

Provedly team··5 min read

"Only 3 left" and "18 sold in the last 24 hours" are two of the most common lines under a Shopify Buy button. Both can be true. Both are also easy to invent, and many urgency apps make inventing them the default: you type a range, and the app picks a number in it for every visitor. Shopify already knows your real stock and your real orders, so there is no reason to guess. This post covers how to tell which kind you have and how to show the real one.

How the invented versions work

Low stock. The app shows "Only N left" where N comes from a setting, not from your inventory. Some versions pick a random number between two values. Others start at a number and count down while the visitor stays on the page, then start again on the next visit.

Sold count. The app shows "N sold in the last 24 hours" where N is a random number in a range you set, sometimes fixed per product so it looks stable. Nothing reads your orders.

Both pass a casual look. They fail as soon as someone compares two visits, or buys the last item and sees "Only 3 left" the next day.

How to check your own product page

Test Real number Invented number
Open the product in two private windows Same stock and same sold count in both Often different
Reload a few times Nothing changes The number moves
Look at a product with 40 in stock No "only N left" line "Only 4 left"
Look at a product with no orders this week No sold line A sold count anyway
Compare with Shopify admin Matches Products and Orders Does not match

The fourth and fifth tests settle it. A product that has not sold cannot show a sold count if the count is real.

The free checker does the timer and viewer counter part automatically. For stock and sold lines, the table above is the quickest test.

Where the real numbers come from

Stock left. Shopify stores the inventory of every variant. A theme can read it directly, with no app and no extra permission. It is only meaningful when Shopify tracks inventory for the variant and overselling is off; otherwise the number is not a limit.

Units sold. Every order has line items with the product and the quantity. Counting the units of one product in orders from the last 24 hours, or the last 7 days, gives the real figure. Cancelled orders and test orders should not count.

People viewing. A real viewer count needs a server that hears from every open page. Our post on the Shopify "people viewing this product" line covers how that works.

Each of these needs a minimum. A product with 400 in stock should not say "Only 400 left", and a product that sold one unit today does not need a line saying so.

Doing this with Provedly

The Provedly Shopify app includes a Product proof block for your product template. It shows one line under the Buy button:

  • Viewing now: distinct visitors on that product page in the last 90 seconds, hidden below 2 by default.
  • Sold: units of that product in verified orders in the last 24 hours (or the last 7 days), hidden below 3 by default.
  • Stock left: the selected variant's inventory from Shopify, shown only when Shopify tracks it, overselling is off and it is at or under your limit, 10 by default. It follows the shopper's variant choice.

To add it, open the app, go to Widget, then Install, and click Add to product page. The theme editor opens with the block added; drag it under the Buy button and save. Each chip's text and minimum are in the block settings. Nobody can type a number into it, including you.

Frequently asked questions

Does the sold count include orders from before I installed the app?

Partly. When you install, the app reads your most recent orders from the previous 60 days, up to 50 of them. Products from those older orders are matched by title, so a product renamed since then only counts its newer orders. Every order after installation counts.

Why does the stock line disappear on some products?

Because the variant has more stock than your limit, Shopify does not track its inventory, or it allows overselling. In all three cases "only N left" would not be true.

Is a made-up "only N left" allowed?

We are not lawyers and this is not legal advice. Consumer regulators, including the UK's Competition and Markets Authority, have said that false scarcity claims can mislead shoppers. Reading the number from your inventory avoids the question.

shopifylow stocksold countfake urgencyproduct page

Get new articles by email

Honest social proof, verified purchases and what actually moves conversion. A few emails a month at most; leave with one click.

We email you once to confirm. Your address is used only for this newsletter; see the privacy policy.

Show proof you can stand behind.

Free plan, one site, 2,000 impressions a month, verified purchases included. The badge on the free plan links to your verification page, which is the point.