> For the complete documentation index, see [llms.txt](https://docs.codpeller.com/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codpeller.com/en/social-proof/product-guide/real-time-stats-messages/low-stock-counter.md).

# 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 %}
