> 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/product-purchase-counter.md).

# Product Purchase Counter

If this message is enabled, it will appear on the product page (see Fig. 4).

<figure><img src="/files/WIXVPhzeroNc07V6xYOO" alt=""><figcaption><p>Fig. 4</p></figcaption></figure>

### **Display Modes**

You can choose between two display modes for this message:

* **Random** (shows made-up numbers)
* **Real data** (shows actual store statistics)

### **🔄 Random Mode**

If **Random Mode is enabled**, the message will show how many times the product was purchased in the last 24 hours — with a random number between **X and Y** (see Fig. 5)

<figure><img src="/files/CN7aoAYYvrSiNrYsAlnp" alt=""><figcaption><p>Fig. 5</p></figcaption></figure>

#### 🧮 **Product Count Rules**&#x20;

You can choose whether to **include or exclude out-of-stock products** in the count (see Fig. 6)

<figure><img src="/files/GiSarY9fujLzYwUWDOIz" alt=""><figcaption><p>Fig. 6</p></figcaption></figure>

#### **⏱️ Display Frequency**

Set how often the message appears on the product page, from **0 to 100**:\
– **100** = always visible\
– **0** = never shown\
(see Fig. 7)

<figure><img src="/files/wxxS8oRlyYfGkHhG0O6f" alt=""><figcaption><p>Fig. 7</p></figcaption></figure>

### 📊 **Real Data Mode**

If you enable real store data, the message will show the **actual number of purchases**, and you can choose the time range:\
– **day,** \
**– week,** \
**– month,** \
**– or all time** \
(see Fig. 8)

<figure><img src="/files/iomgW2kxYiTA2KPtTJ59" alt=""><figcaption><p>Fig. 8</p></figcaption></figure>
