FOMO
Urgency and Limited Stock on an E-Commerce Site: A Complete Guide
July 6, 2026 · 9 min
En bref — How to display urgency and limited stock on your e-commerce site to speed up purchases, without manipulating or losing the trust of your customers.
Image: بندر المسند — Openverse (by-sa)
A visitor lands on your product page. They hesitate. They open another tab, compare, forget. You just lost a sale.
Urgency and scarcity are the two most powerful psychological levers for short-circuiting that hesitation. But used poorly, they do exactly the opposite: they signal to your customer that you’re trying to manipulate them, and they leave without coming back.
This guide shows you how to display urgency and limited stock in a credible, ethical, and effective way — so your indicators work for you, not against you.
Why scarcity and urgency accelerate the purchase decision
Scarcity and urgency trigger purchases because they activate two documented cognitive biases: loss aversion and FOMO (fear of missing out).
Loss aversion, theorized by Kahneman and Tversky, shows that the pain of missing out on something is psychologically stronger than the pleasure of getting it. In other words: “only 3 units left” carries more weight in your visitor’s mind than “this product is great.” FOMO amplifies this mechanism by adding a social dimension — other people want the same thing, so it must be worth having.
On an e-commerce site, these two levers translate concretely into:
- A visible stock counter on the product page
- A notification saying “X people are viewing this product right now”
- A countdown timer on a limited-time offer
- A “stock running out” or “last few items” badge
The problem is that these elements are so widespread that online shoppers have developed a radar for detecting fakes. And when they detect a fake, trust collapses — and with it, your credibility across the entire site.
Real urgency vs. manufactured urgency: what your customers actually perceive
The distinction is simple: real urgency is verifiable, manufactured urgency is not.
Imagine a site displaying “Only 2 left in stock” on a product. The visitor adds the item to their cart, comes back three days later — and the counter still shows “Only 2 left in stock.” They’ve just realized the number is frozen, meaning made up. That store has just lost its credibility across all its product pages, not just that one.
Signals that give away manufactured urgency:
- A stock counter that never goes down, even after purchases
- A countdown timer that resets with every page reload
- “47 people are viewing this product” displayed at 3am on a niche product
- “Limited” stock on products available in unlimited quantities (online courses, digital files)
Regular customers and experienced buyers spot these inconsistencies. And social media does the rest: a screenshot of a rigged counter can go viral and associate your name with manipulation.
Real urgency, on the other hand, is consistent over time. The stock actually goes down. The countdown actually expires. The notification reflects real traffic. It’s that consistency that builds trust — and makes the lever sustainable.
Displaying remaining stock: when and how to show it
Display remaining stock only when it’s genuinely low, with a threshold between 5 and 10 units. Beyond that, the information has no psychological effect — it’s just noise.
The right display threshold
- 0 units: display “Out of stock” with a notification option (email when available)
- 1 to 3 units: “Only X left in stock — order soon”
- 4 to 10 units: “Only X available”
- 11 units and above: display nothing, or display “In stock” without a number
This threshold of 10 is a convention that works because it remains credible. Adjust according to your sector: for a €2,000 product, even 3 units remaining might seem like plenty. For a limited-edition pair of sneakers, 10 units left is already tight.
Where to place the counter
The ideal position: just above or just below the “Add to cart” button. That’s where the eye lands before clicking. On mobile, make sure the counter is visible without scrolling — otherwise it’s useless.
The visual format
Keep it discreet: a single line of text in an alert color (orange or red) is enough. No need for a blinking animation that irritates people. A subtle “3 remaining” badge is more credible than a screaming red banner.
Real-time synchronization
This is the key technical point. If your counter isn’t synchronized with your actual stock, you risk selling a product that’s sold out or displaying a false number. Most e-commerce platforms handle this natively (Shopify, WooCommerce, PrestaShop) — check that the option is enabled and your inventory is up to date.
”X people are viewing this product” notifications: best practices
These real-time social proof notifications are one of the most effective tools for creating FOMO — and one of the easiest to misuse.
What the notification should reflect
The number displayed must correspond to the actual number of active sessions on the product page within a defined time window (often the last 30 minutes). Not the day’s visit count, not a made-up number, not an inflated average.
If your product has 3 simultaneous visitors, display 3. If it’s 0, display nothing — or show a different notification (“Be the first to order”).
When this notification is relevant
It works best on:
- Products with limited stock (combining both levers is powerful)
- Popular products with genuine traffic
- High-activity periods (sales, Black Friday, launches)
It’s counterproductive on:
- Niche products with little traffic (displaying “1 person is viewing” feels more sad than urgent)
- Digital products with no stock limit (the tension makes no sense)
- Pages with very low and irregular traffic
Recommended format
A small, discreet notification at the bottom of the page or near the buy button, with simple text: “3 people are viewing this product right now.” No intrusive popup, no aggressive animation. The pupopup tool lets you configure this type of notification with real data, without any coding.
Tools and technical setup for displaying urgency in real time
You don’t need a developer to implement these elements. Here are your options depending on your stack.
On Shopify
Shopify natively displays remaining stock if you enable “Show quantity” in your theme settings. For real-time visitor notifications, apps like Nudgify, Sales Pop, or pupopup connect your real data and display configurable social proof popups.
On WooCommerce
WooCommerce handles stock natively (enable “Manage stock” at the product level). For real-time notifications, plugins like WooCommerce Live Sales Notifications or an integration via pupopup allow you to display popups synchronized with your actual transactions.
On PrestaShop
The native module displays stock if you enable quantity management. For social notifications, third-party modules or an external solution connected via webhook get the job done.
Universal solution: an external script
If you want something that works on any platform, a tool like pupopup integrates with a simple JavaScript snippet. You connect your data (orders, sign-ups, active visitors) and notifications appear automatically on your product pages. The advantage: you keep control over what’s displayed and ensure the numbers are real.
What to check before going live
- Your inventory is synchronized in real time (no daily manual updates)
- Display thresholds are configured correctly
- Notifications only appear when the data justifies it
- Everything is tested on mobile before going live
Mistakes to avoid to stay credible and ethical
These are the most common mistakes. Some are just ineffective. Others are illegal.
1. Displaying made-up numbers
This is the most serious mistake. In France, simulating fictitious demand with false figures is a deceptive commercial practice under Article L121-2 of the Consumer Code. The penalties are real. And beyond the legal risk: your customers detect it, and they talk about it.
2. A countdown that resets to zero
If your “Offer valid for another 2 hours” countdown resets to zero with every visit or every day, you’ve already lost. It’s the most visible signal of manufactured urgency. Use countdowns tied to a real expiration date.
3. Stacking every lever on the same page
Limited stock + countdown + “47 people are viewing” + “Bestseller” badge + flashing red banner = anxiety and distrust. Choose one or two relevant levers for each product. The more you pile on, the less credible each one becomes.
4. Applying urgency to products with no real limit
Displaying “Limited stock” on a made-to-order product or a downloadable digital file is a contradiction your customers spot immediately. Reserve these indicators for products where the constraint is real.
5. Neglecting consistency across pages
If your product page says “2 remaining” but your cart page says “In stock,” you create a dissonance that breaks trust at the most critical moment — right before payment.
6. Ignoring mobile
A stock counter displayed at the bottom of the page on mobile, below the buy button, is useless. Check the display on the actual screen sizes your visitors use (Google Analytics gives you the breakdown).
Urgency and scarcity are powerful tools because they reflect a human reality: we want what we risk not being able to have. But that power is conditional on credibility. An honest counter that actually goes down converts better than a frozen fake number — and it builds something that faking destroys: trust.
If you want to set up real-time social proof notifications on your store — active visitors, recent orders, remaining stock — the pupopup tool lets you do it for free, with your real data, without a single line of code.
Need a site (or a custom tool) that actually converts? Talk to Sébastien, the dev behind pupopup.
FAQ
At how many remaining units should you display a stock counter?
The most common threshold is between 5 and 10 units. Below 10, the information is credible and creates genuine tension. Above that, the display loses its effect — seeing '47 units remaining' triggers no sense of urgency.
Is it legal to display 'X people are viewing this product' if the number is made up?
No. In France, displaying a fictitious number to simulate demand constitutes a deceptive commercial practice (Article L121-2 of the Consumer Code). The penalty can be up to 2 years in prison and a €300,000 fine. Only use real data or honest ranges.
Do urgency counters work on mobile?
Yes, as long as they are well placed. On mobile, the stock counter should appear in the visible area without scrolling, ideally just above the add-to-cart button. A discreet badge is enough — there is no need for a full-screen banner that annoys users.
Ready to build your popups?
🐶 Build my popups