# Stock 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-stock-countdown-timer">Create a Stock Countdown Timer</a></td><td><a href="/files/rhjsIYr8jGxnAWDAzXpe">/files/rhjsIYr8jGxnAWDAzXpe</a></td></tr></tbody></table>

## Create a Stock Countdown Timer

The Stock Countdown can help you alert the customers to buy the products by showing the number of the product left. In order to have this feature, please take a look on the below instructions to set it up for your store.&#x20;

### **Step to manage:**&#x20;

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

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

### **Setting Content:**

1. Set up the content for the Stock Countdown bar. In the message, there is a **{stock\_number}** placeholder to show the stock value of the product.&#x20;
2. Set up the **Inventory tracking method** for the Countdown. There are 3 options:

* **Variant’s quantity:** Showing the stock value based on the number of product variants.&#x20;
* **Product quantity:** Showing the stock value based on the number of products of your store.&#x20;
* **Estimated quantity (not using Shopify for inventory):** Showing the stock value based on the estimated number of product inventory which isn’t made by Shopify. You can set up the minimum inventory and the maximum inventory of the product:&#x20;

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

&#x20;   3\. Set up **stock quantity** and **stock slider** for the Stock Countdown bar (these settings are optional, you can configure it or not):&#x20;

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

&#x20;   **4. Design the Stock Countdown bar.**&#x20;

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

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

<figure><img src="/files/1FQe1urbTTN4Oef7wcvr" alt=""><figcaption></figcaption></figure>

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

1. Configure the condition for the Stock Countdown timer.
2. Set up display position: Show the timer on the **product page** or display it in other places by the **Shortcode**
3. Set device targeting to choose the device you want to show the timer on: **Desktop** or **Mobile**.

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

For further information about this step, please review this [**guide**](https://help.samita.io/docs/samita-countdown-timer-bar/setup-display-conditions-and-display-position-for-the-timer/) for better understanding.&#x20;

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

<figure><img src="/files/IFNCNSGUScyy56AfgSr9" 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/stock-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.
