# Cart Countdown

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="#create-a-cart-countdown-timer">Create a Cart Countdown Timer</a></td><td><a href="/files/rhjsIYr8jGxnAWDAzXpe">/files/rhjsIYr8jGxnAWDAzXpe</a></td></tr></tbody></table>

## Create a Cart Countdown Timer

The Cart Countdown timer is used to encourage customers to quickly proceed the checkout by counting down the time in the cart before the product is sold out. Please try following the below steps to create this feature.&#x20;

### **Step to manage:**

From the App Dashboard page > Click on the **Countdowns** section in the navigation bar > **Create countdown** > Choose **Cart Countdown**

<figure><img src="/files/StOpFIksdgQizeutMJKw" alt=""><figcaption></figcaption></figure>

### **Setting Content:**

1. Set up the content for the Cart countdown by entering the text in the Message input field and setting up the **Countdown duration:**

<figure><img src="/files/rXXgY00iM0z8G2zKCass" alt=""><figcaption></figcaption></figure>

&#x20;    **2. Design the Cart Countdown look:**&#x20;

<figure><img src="https://help.samita.io/wp-content/uploads/2024/09/Screenshot_10-1024x563.png" alt=""><figcaption></figcaption></figure>

For further customization, you can add CSS to do it by this Custom CSS box:

<figure><img src="/files/MqA8adiu0RNavcLH5W14" alt=""><figcaption></figcaption></figure>

### **Setting Display condition for the Cart Countdown timer:** &#x20;

1. Configure the condition for the Cart Countdown timer.
2. Set up display position: display the timer by the **Shortcode.** For further details, kindly review this [**document**](https://help.samita.io/docs/samita-countdown-timer-bar/steps-to-use-the-shortcode-to-display-the-timer-on-a-specific-position-on-the-online-store/).&#x20;
3. Configure the **Action after the time expired**. There are 3 options:

* **Go to the homepage without clearing the cart:** After the countdown ends, the customers will be redirected to the homepage.&#x20;
* **Hide the message and do nothing:** The countdown disappears only after the time ends.&#x20;
* **Clear the cart and redirect to:** After the countdown ends, the customers will be redirected to the page you want to.&#x20;

<figure><img src="/files/uFNbrRhpDrLO07RqVlUY" alt=""><figcaption></figcaption></figure>

*You can leave the URL input field empty if you want the customers stay on the same page after the timer ends.*&#x20;

After finishing all steps to create the Countdown, click **Save** and start checking on the front store

<figure><img src="/files/DmyK0UWnpwQzBXUB0pUy" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Friendly reminder!**\
If you do encounter any difficulty while proceeding with these steps, don’t show any hesitation to contact us promptly via the email address <mark style="color:green;"><support@samita.io></mark>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.samita.io/samita-countdown-timer-bar/cart-countdown.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
