How to add a sale countdown timer to a Wix store

By Jake Marsh · Updated

To add a sale countdown to a Wix store, create the automatic discount or coupon in Wix first, with an end date. Then open Sandstub, click New timer, set Type to Sale ends (Wix discount or coupon), choose An automatic discount or A coupon under Follows, and pick it from the list. Sandstub reads the end date from Wix, so the countdown always matches the sale customers will get at checkout. Tick where it shows (Site-wide bar is the usual choice), write the message and click Create timer.

Why tie the timer to the discount

A countdown you type by hand and a discount you set in Wix are two separate dates. When you extend the sale by a weekend, or end it early, the timer keeps counting to the old date unless you remember to change it too. A Sale ends timer has no date of its own:

You do this in WixThe countdown does this
Extend the discount's end dateCounts to the new end date
Switch the discount offHides
Delete the discountHides
Leave the discount with no end dateHides (there is nothing honest to count to)

It never restarts at zero. When the sale ends, the timer follows its "at zero" setting: hide, or show a message such as "This sale has ended."

Steps

  1. Create the sale in Wix. In your Wix dashboard go to Marketing, then Coupons or Automatic discounts. Give it an end date and time.
  2. Open Sandstub (Apps, then Sandstub) and click New timer.
  3. Name it something you'll recognize, like "Black Friday bar". Only you see the name.
  4. Set Type to Sale ends (Wix discount or coupon). Sandstub loads your discounts and coupons. Each one in the list shows its end date, "no end date" or "inactive", so you can tell which one is running.
  5. Choose Follows: An automatic discount, or A coupon. Then pick the one this timer counts to.
  6. Tick where it shows. Site-wide bar for every page or only the paths you list (like /shop), Product page for the products in the sale, or Side cart.
  7. Write the message, for example Spring sale ends in {time} or 20% off until {date}. Add a button such as "Shop the sale" linking to /shop.
  8. Pick a design and what happens at zero, check the live preview, then click Create timer.

Message examples

SaleMessageButton
Automatic discount on a collectionWinter coats 25% off. Ends in {time}Shop coats, /coats
Coupon code for newsletter readersCode SPRING15 works for {time}none
Sitewide sale ending at a set dateSale ends {date}Shop now, /shop

{date} shows the deadline in each visitor's language. Use it when the sale is days away and seconds would look frantic; switch off Show seconds in Design for the same reason.

Showing it only on sale products

Tick Product page, then under Products choose Only some products and pick the ones in the sale. In the Wix Editor, add the "Sandstub on product pages" plugin to your product page once; on Automatic it shows every switched-on timer that applies to the product being viewed. Product pages can also add a stock line, Only {stock} left, filled from your Wix inventory, which shows when tracked stock is at or below the threshold you set.

If the discount doesn't appear

  • The list shows what Wix returns for your site. If it's empty, Sandstub says so and points you to Marketing in your dashboard. Create the discount there, then reload.
  • A discount with no end date is listed, but the timer won't show for it. Add an end date in Wix.
  • Wix's Manage Coupons permission is the only way an app can read coupons. If coupons can't be read, the editor says so and automatic discounts keep working.

What it costs

Sale timers are in every Sandstub plan, and they use no visitor checks. Standard is $19 a month or $192 a year per site, with 5 live timers. Pro is $39 a month or $384 a year, with 25 live timers and A/B tests of up to 3 messages. Scale is $79 a month or $792 a year, with 200 live timers. Each plan has a 14-day free trial through Wix, which asks for a card at the start, and billing is through Wix with your site.

Sandstub: Countdown Timers & Urgency

Honest countdowns for sale ends, shipping cutoffs, per-visitor offers and bars From $19 a month per site, or $16 a month billed yearly.


Questions

Do I still need to set the sale price in Wix?

Yes. Sandstub only shows the countdown. The discount, its products and its percentage stay in your Wix dashboard, which is why the timer can't disagree with checkout.

How fast does the timer notice when I change the sale?

Sandstub listens for Wix's discount and coupon changes and also syncs every 15 minutes, so an edit made in Wix reaches the timer without you opening Sandstub.

Can I run a countdown for a sale that hasn't started yet?

Set Show only between (optional) with a From date and the timer stays hidden until then. For a "sale starts in" countdown, make a separate Fixed date timer that counts to the start.

Does a sale timer use visitor checks?

No. Sale timers run in the visitor's browser from a static file. Only per-visitor countdowns, A/B messages and stock lines use visitor checks.

Can one sale have different messages to test?

On Pro and Scale, click Add a second message (A/B test) and Sandstub shows each visitor one message and counts views, clicks and add to cart for each.


More Sandstub guides


More Wix guides