# Discounts

{% embed url="<https://youtu.be/Z6D25QF1D44?feature=shared>" %}

The Discounts feature helps you set up discounts. You can decide when your discounts start and end. You can choose a specific time frame like a 24-hour sale, or keep the discount going without an end date. It lets you create special promo codes that your customers can use to get discounts.&#x20;

### Setting Up a Discount

1. To add a discount, first navigate to the desired calculator.&#x20;

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

2. Then, proceed to the **Discounts** tab.

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

3. To create a new discount, click Create.

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

4. Add **a title** for your discount for easy identification.

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

5. Choose the **activation period** for the promo code: specify a range, set a specific day, or opt for an indefinite period.

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

6. Decide if you want to **display the discount amount alongside the title** or show only the discount amount.

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

7. In the **Conditions section**, select the formula that will trigger the application of the discount.

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

8. Set up the **condition**: it can be triggered when the price is equal to, less than, or greater than a specific amount.

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

9. Select the **discount type** for the promo code – it can be a fixed amount or a percentage.

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

9. **Save** your changes.

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

That's how this will work.

<div data-full-width="false"><figure><img src="/files/yhURfblgIqeFUj95AqKj" alt=""><figcaption></figcaption></figure></div>

### Setting Up a Discount with Promo Code

1. Navigate to the calculator to which you want to add a discount and proceed to the **Discounts** tab.

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

2. Click on **Create a new discount**.

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

3. **Add a title** for your discount for easy identification.

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

4. Enable the option to **Add a promo code for a discount** and enter the desired **Promo Code**.

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

5. Specify a **limit for how many times** the promo code can be used if necessary.

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

6. Choose the **activation period** for the promo code: specify a range, set a specific day, or opt for an indefinite period.

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

7. Decide if you want to **display the discount amount** alongside the title or show only the discount amount.

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

8. In the **Conditions** section, select the **formula** that will trigger the discount.

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

9. Set up the **promo code condition**: it can be triggered when the price is **equal to**, **less than**, or **greater than** a specific amount.

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

10. **Select the discount type** for the promo code – it can be a **fixed amount or a percentage**.

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

11. **Save your changes**.

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

This is how it will work for your customers:

<figure><img src="/files/kgjIpSmoZEFaGgQCxDfl" 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.stylemixthemes.com/cost-calculator-builder/pro-plugin-features/discounts.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.
