Browse articles

Time limit, timer and variables

Set how long buyers have to accept, show them a countdown, and fill texts with the product's name and savings from the { } menu.

Last updated

Every flow has a time limit, and your offer texts can show the time that's left, the product's name and what the buyer saves. This article explains the time limit and every variable you can insert from a text field's { } menu.

Set the time limit

The Time limit sits at the top of the flow's editor, under Internal name. Enter a whole number of minutes, from 1 to 60. A new flow starts at 10 minutes.

The time limit covers the whole flow, not each screen: a buyer who accepts Offer 1 and moves on to Offer 2 keeps counting down from where they were. The clock starts as the buyer completes checkout, and reloading the page doesn't restart it.

When the time runs out, the offer can no longer be added and the buyer goes straight to the order confirmation, as if they had declined. They don't see a downsell. If the buyer was already adding a product, that finishes first.

Show a countdown

To show buyers the time that's left, insert the Timer variable into a text. It counts down in minutes and seconds, for example 9:41.

A new screen already shows it: its callout banner's message reads Offer available for {{timer}}, which buyers see as "Offer available for 9:41". Edit the banner in the Sections and style card to change that.

Insert a variable

Text fields that take variables have a { } button at the right end of their label. Click it and choose a variable: it's inserted where your cursor is, written in double curly braces, for example {{timer}}. The Text section and the Banner section's message are formatted text instead, with an Insert variable menu in their toolbar.

Each menu only offers the variables that work in that field:

WhereFieldVariables
Callout bannerTitleTimer, Product title
Callout bannerMessageTimer, Product title, Percent saved, Amount saved
Heading sectionTextTimer
Text sectiontextTimer
Banner sectionHeading and MessageTimer
Upsell products sectionBadge textPercent saved, Amount saved

What each variable shows

VariableShowsExample
TimerThe time left on the flow, counting down9:41
Product titleThe product's title from Shopify. In the callout banner, the first product the buyer is shownMerino socks
Percent savedHow much the buyer saves, as a whole-number percentage without the % sign30
Amount savedHow much the buyer saves, in their currency$5.00

Add the % sign yourself after Percent saved: the badge's default text is Save {{saved_percentage}}%, which reads "Save 30%".

The savings are worked out from Shopify's price for the variant the buyer has chosen, so they're always what the buyer sees in the price. When the variant's compare-at price is higher than its price, they count from the compare-at price, the one struck through: compare-at $100, price $80 and your 10% off make "Save 28%". You can turn this off in Settings & integrations; see Discounts and shipping.

When a variable has no value

Some variables can be empty: there's no saving on a product without a discount or a higher compare-at price, and no time left once the clock has run out. The offer page never shows a half-filled text:

  • Callout banner: if its title or message names a variable that is empty, the banner shows the default text instead. You can edit the defaults on the Languages page.
  • Heading and Banner heading: a heading with the timer is hidden once there's no time to show.
  • Discount badge: shows only when there's a saving.

Still stuck?

Chat with us and we'll help you get your offer live. Or email contact@elitecart.app.