# How to Create a Bundle Discount  of Specific Products?🤔

<mark style="color:$success;background-color:$success;">**Objective: Create a bundle deal: Add 5 items to the cart, including at least 2 shirts, to receive a discount.**</mark>

\
Follow these steps to **create and publish** a **Product Discount function:**

### **Step 1: Start Function Creation**

* Click on **Create Function** from your **Nexus dashboard.**

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

* Select **Discount Functions** from the list of available **function types.**

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

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfrVMP0eP6ymgHo9BjoGm-LtsuEx-bH97UrS9-YhSiLPx4HNyiHCH1YCF4KmFJ-9shTseTEXdaHFQqmkZbywszV3qTOCtHMqMHfn8qiRtJR1kTU7DCAlCr_C4B6uFW0foe-etVfmA?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### **Step 2: Select Discount Type**

* Click on **Amount Off Product** to proceed.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe9CGiLBAEKXT_UvvZmtw_VjeYxHsIhps3loAVT_6iN2NtCESTf-tTSuAgARObF9l6pISimZkzKq9YkfUFixOGLIfv3108kpIHuKaNoaladlN1zE-Y7Br-_ScTAnWg-puDnDt9Blg?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### Step 3: Choose Campaign Type and Configure Conditions

* On the **new screen,** set the **Campaign Type** to **Bundle Discount.**

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

#### Step 4: Add Items to the Bundle

1. Click on the **+ Add Item button** next to the **Bundle Discount** section.
2. A popup titled **"Add bundle item"** will appear.
3. Under **Item selector,** choose the **method to identify** the product (e.g., **Product ID, Product Tag,** etc.).
4. In the **Applicable items** field, click **Add value** and select or enter the **specific product(s)** you want to include (e.g., **“Shirt”**).
5. In the **Required quantity field,** enter the number of items needed for this product to **count in the bundle** (e.g., 5 for two shirts).
6. Click **Add to save** this item in your **bundle.**

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

### **Step 5: Save the Function**

* Click **Save Function.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdT_4jWrY1Z7YWDUA7cyP2gPpwLKP3ah_o_BPONjMqPynNRZUzpnBPMmVe-M58boz7KJ9XAmW0WfKCx61-x1umD5kT8MbXBfN6EkpGQ9MBnK8Iyiw-ettHSKpfhTpvtUCjUz6Ut?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

🎉 Your **Bundle 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_4nXeE-6RTJDZbS789dqvA4IwU4QoXpUQ1ipRaFbhkeKKeghmqFNyeUMFB_FmrfgdQ5wBCVF2fgVHotPGW9j35x2ogXYrR3HDFwyYRi8Hwc0HoOoXX2CwsISyySqFWGaXyElaKHTNr2A?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

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

<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-bundle-discount-of-specific-products.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.
