# Low Stock Counter

<div align="left"><figure><img src="/files/M44RIhDHVwGytn79KVVy" alt=""><figcaption><p>Fig. 18</p></figcaption></figure></div>

If it’s enabled, it will appear on the product page (see Fig. 18–19)

<figure><img src="/files/FzYvhJYX6GgVcJfVREKH" alt=""><figcaption><p>Fig. 19</p></figcaption></figure>

### ⏱️ **Display Frequency**

You can choose how often the message is shown, from **0 to 100**:

* **100** = always shown
* **0** = never shown (see Fig. 20)

<figure><img src="/files/xeJ9jUVd6l1RiR9UDSI9" alt=""><figcaption><p>Fig. 20</p></figcaption></figure>

### 🔁 **Display Modes: Random or Real Data** (see Fig. 21)

<figure><img src="/files/XahVhFmxIciuG9LBXKVJ" alt=""><figcaption><p>Fig. 21</p></figcaption></figure>

#### 🎲 **Random Mode**

If random mode is turned on, you’ll need to set a **range of numbers (from X to Y)**.\
The message will randomly pick a number from that range to show (see Fig. 22).

**Example:** *“Only 5 items left in stock!”*

<figure><img src="/files/bOHN4eeiAsnFsCqEc1gB" alt=""><figcaption><p>Fig. 22</p></figcaption></figure>

#### 📊 **Real Data Mode**

To use real stock data from your store, turn **off** the random mode toggle (see Fig. 22.1)

<figure><img src="/files/nfw2onoN9Gqaq6LtK9ti" alt=""><figcaption><p>Fig. 22.1</p></figcaption></figure>

Then, set the stock **threshold** — this means the message will only appear when the number of items left drops **below a certain amount** (see Fig. 23)

**Example:** If you set the threshold to **10**, the message will appear when stock reaches **9 or less**, and it will show the actual number in the message

<figure><img src="/files/oyTg8TrdW1rmc848Cs9F" alt=""><figcaption><p>Fig. 23</p></figcaption></figure>

#### **🎨 Message Appearance**

You can fully customize the look of this message — text, colors, borders, icons, and more

{% content-ref url="/pages/QGYEfLlp3NezcLLc3EX6" %}
[Message Appearance](/en/social-proof/product-guide/real-time-stats-messages/message-appearance.md)
{% endcontent-ref %}


---

# 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.codpeller.com/en/social-proof/product-guide/real-time-stats-messages/low-stock-counter.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.
