Should your store show a countdown timer or an "only X left" message?
Only when it is true: show a deadline only if the offer really ends then, tie the timer to the discount's actual end date and make the price change when the timer reaches zero. Never restart a timer for each visitor, and never show a stock message that does not come from your real inventory count.
That is the rule I build to on a Shopify store or a WooCommerce build when a client plans a sale. A timer is only a display: the deadline lives in the discount or the scheduled sale price, and the timer should read that one setting.
What has the FTC said about fake urgency and fake scarcity?
The US Federal Trade Commission published a staff report, Bringing Dark Patterns to Light, from its Bureau of Consumer Protection (FTC: Bringing Dark Patterns to Light). Its list of common dark patterns describes each of these as creating pressure to buy immediately (FTC: staff report, Appendix A):
- Baseless countdown timer: "showing a fake countdown clock that just goes away or resets when it times out".
- False limited time message: saying the offer is good only for a limited time, but "without a deadline or with a meaningless deadline that just resets when reached".
- False low stock message: "saying inventory is low when it isn't".
- False discount claims: offering a fake discounted or sale price.
The FTC's press release on the report describes "countdown timers designed to make consumers believe they only have a limited time to purchase a product or service when the offer is not actually time-limited" (FTC: press release on the report). The report also says companies "are on the hook for the net impression conveyed by the various design elements of their websites, not just the veracity of certain words in isolation" (same report).
This is FTC staff guidance: the press release says the Commission voted to authorise the release of the staff report. I am a developer, not a lawyer, so confirm with your own adviser which rules apply where you sell before the sale goes live.
What makes a sale deadline real?
A real deadline is one end date and time, set once in the store and shown the same way to everyone. I compare the two kinds like this:
| Honest timer | Fake timer |
|---|---|
| Same end time for every shopper | Starts again for each visitor |
| Reads the discount's end date | Tied to no offer at all |
| Price changes at zero | Price stays the same |
| Ends once, then disappears | Resets or quietly extends |
| Shows the date and time zone | Shows only ticking digits |
Write the end date, the end time and the time zone into the sale plan before anyone designs a banner. Every other piece, the timer, the banner, the emails and any landing page, copies that one line.
How do you set a real end date on Shopify?
Put the deadline on the discount itself. When you create an amount off discount, you set its start date, then click Set end date and choose when it ends. Shopify says that if you don't choose an end date, the discount doesn't expire, and that the time it starts and ends depends on the time zone selected in your Shopify admin (Shopify: amount off discounts).
Sale prices are a separate tool. Shopify says using sale prices is different from setting up discounts: you enter the new price in Price and the original in Compare-at price, and your theme controls whether and where sale prices appear (Shopify: sale prices). Those are edits to the product, so if a sale uses compare-at prices, plan who puts the prices back at the deadline. For a timed sale I usually tie the timer to a discount with an end date instead.
Watch one trap if a sale is extended. Shopify says that when you reactivate an expired discount, its status becomes Active and it has no set end date (Shopify: managing discounts). Set a new end date straight away and move the timer to match, or the banner promises a deadline the discount no longer has.
How do you schedule a sale price on WooCommerce?
In the product's General section, enter a Sale price and select Schedule to add two dates: From, when the sale price starts displaying, and To, when it stops displaying, which expires at 11:59 pm (WooCommerce: product editor settings). For variable products, the variation bulk actions include Set scheduled sale dates (WooCommerce: variable products).
Coupons work differently. WooCommerce says coupons expire and cannot be used on the date that is set (WooCommerce: managing coupons), so the expiry date is the first day the code stops working, not the last day it works. A timer for a coupon should count down to the start of that day.
Before trusting either date, I check the Timezone setting on the WordPress General settings screen (WordPress: General settings) against the time zone the sale is advertised in.
What should happen when the timer reaches zero?
- The price returns. The discount stops applying, or the sale price stops displaying, at the moment the timer said.
- The timer goes. No frozen zeros and no fresh countdown: hide it, or replace it with a short line saying the offer has ended.
- Banners and badges follow. Announcement bars, sale badges and "ends tonight" copy come down at the same moment, not the next morning.
- No quiet extension. Extend only for a real reason, such as checkout trouble during the sale. Then set the new end date in the store, update the timer and say plainly that the sale was extended and why.
Show shoppers the end as a written date and time with the time zone next to it, not only as ticking digits, because someone in another time zone reads "ends at midnight" differently. The countdown should run to that fixed moment set in the store, never from a shopper's first visit.
When is an "only X left" message honest?
When the number comes from the store's real inventory count and changes as stock sells. Never type a number into a banner.
- Shopify: its guide to displaying variant inventory shows the available amount for the current variant, and the Inventory block is built into Shopify's own Online Store 2.0 themes from version 8.0.0 and themes in the Horizon family. Shopify says to avoid displaying variant inventory on stores that aren't tracking inventory with Shopify, sell digital products, or keep selling at zero inventory (Shopify: theme customisations).
- WooCommerce: with stock management enabled, you enter quantities and WooCommerce subtracts items as sales are made or orders are returned. The Stock Display Format setting includes Only show stock when low, which shows a message such as "Only 2 left in stock" (WooCommerce: products settings).
If a sale product sells out, a restock sign-up is the honest next step, which I cover in my article on pre-orders and back-in-stock alerts.
How do you test the timer before the sale starts?
Rehearse a few days before launch, on a test product or a copy of the store, and check:
- Same deadline everywhere: a phone, a laptop and a private window all show the same end time, and none restarts.
- The change at zero: after the test end passes, the product page, the collection page and the cart all show the new price, with the banner and timer gone.
- Time zone: on a device set to another time zone, the written end date still reads correctly.
- Every mention of the sale: the landing page, the announcement bar, the emails and any ads show the same end date.
The discount itself goes through the normal order tests in my guide to testing a store's checkout. Whether the sale combines with other discount codes is a separate decision, so settle it before the timer goes live. If the sale has its own landing page, give it the same end date.
What should you clean up after the sale?
Take down everything that still talks about the sale: timers, announcement bars, sale badges, compare-at prices, landing page copy and any emails still scheduled. A banner for an offer that has ended makes the store look unattended, and a timer stuck at zero looks broken. I give the clean-up one named owner and a checklist dated for the morning after.
Where the store allows it, I make the banner hide itself at the end time, which is part of my automation and integration work. If a developer builds this for you, put the end date, the time zone and who removes the banners in the scope you agree on Upwork, so nothing is left to guesswork.
