# Счетчик покупок товаров

Если сообщение включено, то оно показывается в карточке товара Рис.4.

<figure><img src="/files/WIXVPhzeroNc07V6xYOO" alt=""><figcaption><p>Рис.4.</p></figcaption></figure>

Работу сообщения можно включить в двух режимах: рандомно (случайные числа) или реальные данные магазина.

### **Рандомно**

Если включена настройка рандомно, то в сообщении будут отображаться сколько раз товар купили от X до Y за последние 24 часа Рис.5.

<figure><img src="/files/CN7aoAYYvrSiNrYsAlnp" alt=""><figcaption><p>Рис. 5</p></figcaption></figure>

#### Подсчеты товара

Можно включить или исключить из подсчета товары, которых сейчас уже нет в наличии на складе Рис.6.

<figure><img src="/files/GiSarY9fujLzYwUWDOIz" alt=""><figcaption><p>Рис. 6</p></figcaption></figure>

#### Частота показов сообщения

Можно настроить частоту отображения сообщения в карточке товара, от 0 до 100, где 100 это сообщение показывается всегда, а 0 сообщение не показывается Рис.7.

<figure><img src="/files/wxxS8oRlyYfGkHhG0O6f" alt=""><figcaption><p>Рис. 7</p></figcaption></figure>

### **Не рандомно**

Если включить отображать реальные данные из магазина в сообщении, то появляется настройка отображения товара за период (день, неделя, месяц, за всё время) Рис.8.

<figure><img src="/files/iomgW2kxYiTA2KPtTJ59" alt=""><figcaption><p>Рис. 8</p></figcaption></figure>


---

# 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/ru/socialnye-dokazatelstva/rukovodstvo-po-produktu/soobsheniya-so-statistikoi-realnogo-vremeni/schetchik-pokupok-tovarov.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.
