For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create a cart countdown

Build a cart timer end to end, from message and duration to a live cart page.

This guide builds a complete cart countdown: a message with a running timer, a duration, a style, and an action for when the clock runs out.

Make sure the app embed is on before you start.

Steps to set it up

1

Create the countdown

Click Create countdown from the dashboard or the Countdowns page.

2

Pick the Cart countdown layout

On the Countdown templates page, switch the type tab to Cart countdown and click Select on the default layout.

3

Name it

Something like "Cart hold — 10 minutes".

4

Write the message

On the Settings tab, open Content and edit the Message. A new cart countdown starts with:

🔥 Hurry up! Your cart will be lost in {timer} !!

{timer} is replaced with the running clock. Keep it in the sentence — without it there's no countdown, just a warning.

Say what will actually happen. If you've set the expiry action to leave the cart alone, "your cart will be lost" isn't true. "Complete your order within {timer}" promises nothing you don't deliver.

The cart countdown Message field with the timer variable in the text
{timer} renders the running clock inside your message.
5

Set the duration

Still in Content, set Countdown duration in minutes. The default is 10.

Long enough for a shopper to finish checking out without feeling chased, short enough to matter. Most stores land between 10 and 20 minutes.

6

Style it

Use the design controls in the Settings tab to set the position, colors for the message, timer and background, borders, and fonts. A cart countdown doesn't have a separate Design tab — its options live here.

The message sits at the top of the cart, so it's worth keeping it visually quieter than your checkout button.

7

Choose what happens at zero

Switch to the Display tab. For a cart countdown, this tab carries Action after time expired:

  • Go to the homepage without clearing cart — the default

  • Hide the message and do nothing

  • Clear the cart and redirect to — with a URL field

Pick carefully: one of these deletes the shopper's cart. See When the cart timer expires before choosing.

The Action after time expired options on the Display tab of a cart countdown
The Display tab of a cart countdown carries the expiry action.
8

Set conditions if you need them

The Conditions section still applies — you can restrict the cart countdown by customer, language, or country, for instance. Leave it as it is to show the timer on every cart. See Display conditions.

9

Save it as Active

Set the status to Active and click Save.

10

Check it on your storefront

Add something to your cart on your live storefront and open the cart page. The timer should be at the top, counting down from your duration.

Open your cart drawer too, if your theme has one — the countdown appears there as well.

Then check the empty case: remove everything from the cart. With no items, the countdown correctly doesn't appear.

11

Watch it expire once

Let a timer run all the way down in a private browser window and confirm the expiry action does what you expect — especially if you chose Clear the cart and redirect to. It's much better to discover a surprise here than in a support ticket.

Next steps

Last updated

Was this helpful?