Skip to main content
The Banner block is a message strip shown inside the cart, useful for promotions, shipping messages, or urgency prompts such as a free-shipping notice, a sale announcement, or a “cart reserved” prompt. It can include a live countdown timer.
Banner block in the Aftersell cart drawer showing a reservation countdown message

Behavior

  • The countdown only runs when all three conditions are met: the timer is enabled, the text contains the {{timer}} token, and the duration is greater than zero. Otherwise the banner shows as static text.
  • The timer counts down in MM:SS and is remembered for the shopper’s tab (it survives navigation within your store during the session), so it doesn’t restart on every page.
  • When the timer reaches 00:00, the entire banner disappears, so shoppers never see a zeroed-out clock.
  • In the editor preview the timer loops and the banner never hides, so you can keep styling it.

Settings

The text is translatable.

Placement and limits

  • Region: any (top, body, or bottom).
  • Maximum: 3 per cart state — the filled cart and the empty cart each get their own allowance.
  • State: both filled and empty cart.
  • Added to new carts by default. Not locked, so you can remove or hide it.

Custom template

Supports a custom template from its Code tab, which replaces this block’s built-in markup with your JSX. These are the props it receives. There’s no separate timer prop. The countdown is interpolated into text for you, so rendering text is enough.
That early return matters. Without it your banner keeps rendering after the timer expires, and because the token is already substituted, shoppers see a frozen 00:00.

Design

Style this block with its Design section in the settings panel. These are per-block overrides that layer on top of your global design and fall back to it when blank.

Text

The Text section in Design lets you control the typography of the banner message. Bold and text color are set in the Rich Text Editor above (in the Settings tab), not here.

Style

What are design settings? Learn more here: Design settings.