# How to Create Order Discount for Specific Collection?🤔

### Step 1: Begin the Discount Setup

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

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

* Choose **Discount Functions.**
* Select **Order Discount** for **Specific Collection.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfZD1tifqLxUN0L_Awq5nRfoiPXl2mruKX5Bd6ilZiceySRxLDyOJfCq3-eKwRp65dpi76GXc-8s_FaD6RHUsdo0Is9CSPZgCPeERU3qWKH5AbAbuA9lB92SrchdW-YZHmsMIEB2Q?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### Step 2: Configure Discount and Apply Conditions

* Set **Function Input Type** to **Advanced Input**.
* Under **Item Qualifier,** select **Product Collections** and click **Add Values** to choose the **relevant collection(s).**
* Define the **Discount Type** (e.g., **percentage or fixed**) and the **Discount Class.**
* Finally, click **Save Function** to activate your **discount.**

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

✅ Your **Order Discount** for **Specific Collections** is now live and ready to reward your customers! 🎉

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

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

<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-order-discount-for-specific-collection.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.
