# How to Create a Product-Specific Promotion: Shirts – $49 Each When You Buy 2+?🤔

<mark style="color:$success;background-color:$success;">**Objective: Offer each shirt at a flat price of $49 when a customer buys at least 2 shirts. The discount should auto-apply without requiring any manual code input by the customer.**</mark>

### Step 1: Create an Amount Off Product Discount

* In your **Nexus dashboard,** click **“Create Function”.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeWTS7TLaiRafEVQ4ZndzcDW1ZjpIejj6eytgaD1LhzMcHTgoGHK1NXxIlAqRVgAnvDYIztFxGPzkPp9q5cI6xw1jVfwBDyfCts-jx_pCiSQ8zy41a79F4L1GXbGE4xfySO6Mw32w?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

* Choose **“Discount Functions”,** then select **“Amount Off Product”** as your discount type.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfG28BOqNfMLFurwuaRteJaeth2ywv2jp4J8zB4YjuHpiGkHaIc3ndlvu_zYZHKJnP2Hc0RPY3To4vWaajeGTYKlWH4dnhAnj7IEBfn-gW4iPKdhuFSWtpG24noT5mHviijbLvmxA?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### Step 3: Select Campaign Type & Set Conditions

**Configure the promotion** to apply only when the following conditions are met:

* **Cart Qualifier:**

* **Select Cart has item**

* **Behavior: Item Quantity**

* **Condition: Greater than**

* **Value: 2**

* **Item Qualifier 1:**

* **Field: Line item price**

* **Match Condition: Greater than or equal to**

* **Amount: 49**<br>

* **Item Qualifier 2:**

* **Field: Product type**

* **Match Condition: Is one of**

* **Product Type: Shirts**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcHyhARpfgXrSrM8p1SZEiLhYZBbvyXlBmaRxyaM9ODlsaVBLU9SQ9JfVSDRYzU687YBFNdLc05ZqV_ivjeYCLxl4NKbyUbdOyM1jpJq3TPWp-7WIygqPaxf_QN19se4MMWWTCG0g?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### Step 4: Finalize Discount Settings

* Choose the **discount type (fixed or percentage).**
* Define its **class and schedule.**
* After **setting the discount,** click **Save** to publish.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf--FPD_GPg0CALl6cYdNeORbx5CLeKRPJk9tS3O006DmkRfb_mYKI2ePpQhDOxTW7lc9yQLAdpBuylk-EGsTR-us5n5xv4cFAc-oNlqYoMuYp8T9lfquWi2lRcoFtlj_qr5tALqQ?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

🎉 Your **discount function** has been **published successfully** — it’s **now live** and **ready to boost your sales!**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfhqKePETTNCkMCWuR89ReXlQpZ060spp61pw-yLmH4h-hHB3J575SUrZA3IpWO3JKoI4nJ3LmZ-Y9d-zsvEd2VJK53Ux85gT5SSn54RrxR88vSf56cPnOdgAf9Pw_iqW5sdGd1?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

{% embed url="<https://www.youtube.com/watch?v=Id6t6g2zk0Y>" %}

<br>


---

# 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://nexus-functions-creator-and-disc.gitbook.io/nexus-functions-creator-and-discounts/faqs/how-to-create-a-product-specific-promotion-shirts-usd49-each-when-you-buy-2+.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.
