# How to Create an Order Discount Function in Nexus?⚡

Follow these steps to **create and publish** an **Order 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_4nXdShkcyeGaOCcZT3nr9zjc-xH9ThRe-iBYZwVSkmX36vrLVkca-_kczWTZuq4FmwqnSaBc_9knkaGrWQQN0WltJUnkIIs3nAFRX7SfzkSgDzHnd9OZviw6WHxrleKv9DijJ1Rp07g?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_4nXfTJk7wfj-RGiSo587RK6AHowLrw1CzGxpNiIGk15cu5gSmFJP1xMJGJvS4XHftsZLEylo5X_VfeydWvV3L9YbuEKdlkjQ2va4TfbvPSlmNpxNfEQUpsvB0Fw81mWjG6LvEzwGyng?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

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

* Click on **Amount Off Order** to proceed.&#x20;

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

### **Step 3: Choose Campaign Type**

At this step, you’ll choose the type of **discount campaign** you want to create. The platform offers **2 campaign types—**&#x65;ach designed for **specific discount strategies.**

**📌 Available Campaign Types:**

1. **Conditional Discount**\
   **Apply a discount** when a **specific condition** is met (e.g., subtotal over $200, or customer tag matched etc).

If you want to apply for a **Conditional Discount** … [**Read Flat 20% OFF on Order**](/nexus-functions-creator-and-discounts/faqs/how-to-create-order-discount-for-specific-collection.md)

2. **Volume Discount**\
   Provide discounts based on the **number of items purchased**—perfect for **bulk-buying promotions.**

If you want to apply for a **Volume Discount** … [**Read How to create  Volume discount**](/nexus-functions-creator-and-discounts/faqs/how-to-create-a-tiered-discount-setup-buy-more-save-more.md)

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

👉 The **remaining steps** are the same as those **outlined** for the **Product Discount Function.** [**Click here**](/nexus-functions-creator-and-discounts/nexus-functions-creator-and-discounts/how-to-create-a-product-discount-function-in-nexus.md) for more information. 🔍📘

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

\ <br>

<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/nexus-functions-creator-and-discounts/how-to-create-an-order-discount-function-in-nexus.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.
