# Buy X Get Y settings

### 1. Product page

* Choose position to show widget layout in product page by [embedding app](/app-configuration/enable-embed-app.md) and [adding the app block ](https://docs.paretodeals.com/display-settings/pages/nKS64VTcMnYbZJaIbtMg#id-2.-add-app-block-on-product-page)

<figure><img src="/files/7LB2e8Ki3TrwndM8rBGg" alt=""><figcaption></figcaption></figure>

* Customize color, text, font,... and see preview before publish theme

<figure><img src="/files/TtkXBFJRxzMNGSo68i3l" alt=""><figcaption></figcaption></figure>

### 2. Popup discount

* Show discounted products when buyer clicks see more on product page layout or cart page when buy X is qualified.
* Customize color, text, show select variant, show quantity,...and buyer can add product to cart

<figure><img src="/files/qPiawOwj4JMvyDyHvB4i" alt=""><figcaption></figcaption></figure>

### 3. Cart page

* You can customize notification such as: Buy more get discount, get a gift, or change gift.

<figure><img src="/files/oYVZmjz4Q3yZ3CJNFIiZ" alt=""><figcaption></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.paretodeals.com/display-settings/buy-x-get-y-settings.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.
