> 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/discount-message.md).

# Discount Message

This message shows a discount offer for a product

<div align="left"><figure><img src="https://content.gitbook.com/content/b8tXvs0XGg1dcXcoJqFy/blobs/XXQ4AAOMUgf02lvWVuoT/0.png" alt="" width="322"><figcaption><p>Сообщение о скидке на товар</p></figcaption></figure></div>

### **🔢 Discount Amount**

You can set the discount percentage or amount shown in the message (see Fig. 25)

<div align="left"><figure><img src="https://content.gitbook.com/content/b8tXvs0XGg1dcXcoJqFy/blobs/jZy7g4WtJumiJmIdUXTR/1.png" alt="" width="375"><figcaption><p>Fig. 25</p></figcaption></figure></div>

### 🏷️ **Coupon Code**

Add a promo code that customers can use at checkout (see Fig. 26)

<div align="left"><figure><img src="https://content.gitbook.com/content/b8tXvs0XGg1dcXcoJqFy/blobs/RwxK1DdO3lZJ8Xpsa0ar/2.png" alt="" width="364"><figcaption></figcaption></figure></div>

### 🛍️ **Where to Show the Message**

Choose whether to display the discount message:

* On **all products**, or\
  Only on a **selected list of products** (see Fig. 27)

<div align="left"><figure><img src="https://content.gitbook.com/content/b8tXvs0XGg1dcXcoJqFy/blobs/clQ1PWGEzK9TrbV4PppD/3.png" alt="" width="563"><figcaption><p>Fig. 27</p></figcaption></figure></div>

### ⏱️ **Display Frequency**

Set how often the message appears on product pages — from **0 to 100** (see Fig. 28)

<div align="left"><figure><img src="https://content.gitbook.com/content/b8tXvs0XGg1dcXcoJqFy/blobs/x1V2vCuTQEKdx03OUDWz/4.png" alt="" width="563"><figcaption><p>Fig. 28</p></figcaption></figure></div>

### **🎨 Message Appearance**

You can fully customize the look of the discount message — colors, layout, text, and more.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.codpeller.com/en/social-proof/product-guide/real-time-stats-messages/discount-message.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
