> For the complete documentation index, see [llms.txt](https://accelio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://accelio.gitbook.io/docs/cart-elements/body/timer.md). Agents can also search and read this documentation through its [MCP server](https://accelio.gitbook.io/docs/~gitbook/mcp).

# Timer

Add a countdown to the drawer that creates urgency and encourages shoppers to check out.

The **Timer** sits at the top of the Body, showing a countdown with a custom message. Open **Cart elements > Body > Timer**.

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2Fpl7a4mxgtLyTuo4lV6cX%2Fimage.png?alt=media&amp;token=156774c1-0bae-4dda-8254-34b18df25873" alt=""><figcaption></figcaption></figure>

### 1. Settings

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2FmyvOXjsIq6Sf12P2VsfX%2Fimage.png?alt=media&amp;token=f65aa93f-0520-4236-91b1-4c56c64a0ae7" alt=""><figcaption></figcaption></figure>

* **Turn on Timer:** toggle on or off. When off, the countdown is hidden but your settings are kept.
* **Timer message:** text shown next to the countdown. Default: `Your cart will be expired in {{time}}`.&#x20;
* **Time countdown**
* **Text size**&#x20;
* **Action when time ends**:
  * **Hide timer:** the timer disappears, cart items stay
  * **Clear cart:** all items are removed from the cart

{% hint style="danger" %}
**Clear cart** is aggressive. Only use it if your store runs genuine time-limited drops or flash sales, otherwise it frustrates shoppers who stepped away to think.
{% endhint %}

### 2. Color

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2FC3HMHe1Uzu2auvsgOF0S%2Fimage.png?alt=media&amp;token=76b588c6-3d59-4049-b2b9-198eff0bd01a" alt=""><figcaption></figcaption></figure>

Set colors for each part of the timer:

* **Timer background:** supports a two-color gradient.&#x20;
* Choose a **gradient direction** (→ ← ↓ ↑), or click **Set flat color** for a single solid color.
* **Timer text color**&#x20;

### Need help?

If you need any assistance, reach out to our support team via **live chat** inside the Accelio app.
