> For the complete documentation index, see [llms.txt](https://magecomp.gitbook.io/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magecomp.gitbook.io/shopify/apps/kor-order-limit-quantity-1/limit-order-amount.md).

# Limit Order Amount

Shopify merchants can set boundaries for order amounts by setting min & max amounts for orders. Customers can place orders of amounts within pre-decided limits.

<mark style="color:blue;">**Step #1**</mark>

Go to **Limit Order Amount**.

<mark style="color:blue;">**Step #2**</mark>

Enter values in **Min Order Amount** & **Max Order Amount** for orders customers can place & save.

<figure><img src="/files/WAyYzEXEcqUTWbUCwGDE" alt="Limits to order amount"><figcaption></figcaption></figure>

For example, you've set the following limits.

| Min Amount | Max Amount |
| :--------: | :--------: |
|     100    |    2000    |

According to the above rule, customers can't place an order **below USD 100** & **above USD 2000**.

* **Apply Discount Amount:**

If you want to set the limits on the discounted amount, you need to select the **Apply Discount Amount** checkbox.

If you do not want to apply the limit rules on the discounted amount, kindly keep the checkbox unselected.

Let's understand this with some use cases:

1. **You have selected the Apply Discount Amount option**

<table data-header-hidden><thead><tr><th width="123"></th><th width="133"></th><th width="155"></th><th></th></tr></thead><tbody><tr><td><strong>Customer</strong></td><td><strong>Purchase ($)</strong></td><td><strong>Purchase after discount ($)</strong></td><td><strong>Approved or Disapproved?</strong></td></tr><tr><td>Thomas</td><td>$2100</td><td>$1900</td><td><mark style="color:green;"><strong>Approved</strong></mark>, as the order total does not exceed the set max. limit.</td></tr><tr><td>Justin</td><td>$3000</td><td>$2700</td><td><mark style="color:red;"><strong>Disapproved</strong></mark>, as the order total exceeds the set max. limit</td></tr><tr><td>Alma</td><td>$100</td><td>$85</td><td><mark style="color:red;"><strong>Disapproved</strong></mark>, as the order total does not fulfill the set min. limit.</td></tr></tbody></table>

2. **You have NOT selected the Apply Discount Amount option**

In this, if you let the checkbox remain unselected, the limits will be applied to the order's grand total **(before the discount).**

You can set messages for notifying customers when the order amount does not meet the condition applied.

<figure><img src="/files/c3PC0CyRFtDr6LW6G3L7" alt="Alert messages for order amount"><figcaption></figcaption></figure>

{% hint style="info" %}
***Price Format***

*Here, you can set the price format to go along with alert messages.*

*If your currency is a dollar, then you can set the price format to **$**, **USD**, **US$,** etc.*

*For Japanese currency, you can set price formats like **¥**, **円**, **JPY**, **JP¥,** etc.*

***{%-min\_amount-%}** = minimum order amount*

***{%-max\_amount-%}** = maximum order amount*
{% endhint %}

<figure><img src="/files/4k2GteU6vhekn7uSsc4Z" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://magecomp.gitbook.io/shopify/apps/kor-order-limit-quantity-1/limit-order-amount.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
