# Create order limit

Setting an order limitation allows you to control the total quantity or total value of items in an order, helping you manage large or bulk purchases. This feature is especially useful if you want to prevent customers from exceeding a certain number of items or spending too much in a single transaction. By setting order limits, you can maintain better control over your stock, shipping logistics, and customer behavior, ensuring a smoother shopping experience.

### 1. Creating an Order Limit

To create a limit, please click on the 'Select' button located in the 'Order Limit' section.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2FZpWhLqS0wKDa51fZAoSU%2Fimage.png?alt=media&#x26;token=0dc6d9c9-4b2d-449b-a834-80cf676827d0" alt=""><figcaption></figcaption></figure>

### 2. General Settings

You can change the '**Limit Name**' for easier management of various limits. Don't worry, your customers won't see this name.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2F6OeYAfddUWkhFael4DqH%2Fimage.png?alt=media&#x26;token=94b4366d-e25b-44bd-a928-a9dd8ceaf02a" alt=""><figcaption></figcaption></figure>

### 3. Setting Limit Conditions

There are three types of conditions you can set:

#### 3.1. Total Number of Products in the Order

This limit is based on the total number of products in an order.

* Minimum quantity: This is the minimum number of products a customer must purchase in an order.
* Maximum quantity: This is the maximum number of products a customer can purchase in an order.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2FIMwcgTNaJoyA8rHvLD3Q%2Fimage.png?alt=media&#x26;token=14ccd5ca-52c5-4265-adee-8c05406f81dd" alt=""><figcaption></figcaption></figure>

#### 3.2. Total Value in Order

This limit is based on the total value of the order.

* Minimum total value in order: This is the minimum total value a customer can purchase in an order.
* Maximum total value in order: This is the maximum total value a customer can purchase in an order.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2Fx510p0EaJnHTuvlogzBA%2Fimage.png?alt=media&#x26;token=9a0e735c-c96b-428e-b265-59a24e406c5d" alt=""><figcaption></figcaption></figure>

#### 3.3. Total Weight in Order

This limit is based on the total weight of the order.

* Minimum weight in order: This is the minimum weight a customer can purchase in an order.
* Maximum weight in order: This is the maximum weight a customer can purchase in an order.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2Fzda7MMAxURjxvDBu7GVa%2Fimage.png?alt=media&#x26;token=8ba2e3b2-e8b8-4ed3-b2cc-4f94fc74d478" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you **leave the maximum field blank**, it means there is **no maximum limit** applied.

If you set **maximum = 0**, it means customers **cannot purchase this product**.
{% endhint %}

### 4. Advanced Settings

#### 4.1. Active Dates

You can set the start and end dates for the limit.

* Start date: The limit will display and take effect from the date you set in 'Start Date'.
* End date: The limit will disappear from the date you set in 'End Date'.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2F6RVLa6XtQuyKZjMkytpn%2Fimage.png?alt=media&#x26;token=1d9ad7aa-b3b1-4e93-b641-53ac5a61d21e" alt=""><figcaption></figcaption></figure>

#### 4.2. Notification Settings

You can decide when to notify about the limit.

* The limit has been reached: A notification will appear when the limit is reached.
* The "Add-to-cart" button is clicked: A limit notification will appear when the "Add to Cart" button is clicked.
* No notification: No limit notification will appear, but the checkout button will be disabled when the limit is reached.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2FqRnlK6i02ANUe76L4Ccw%2Fimage.png?alt=media&#x26;token=ee6b0951-d181-4747-9d53-12c55b2d7e0b" alt=""><figcaption></figcaption></figure>

#### 4.3. "Contact Us" in Notification

You can customize the "Contact Us" button in the notification.

* Button text: Set the button text for "Contact Us".
* "Contact us" text: Set the "Contact Us" text.
* "Contact us" URL: Set the URL for the "Contact Us" button.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2FHokY0PNndHRPpPHKjIzK%2Fimage.png?alt=media&#x26;token=ee2ec89f-5b58-43ed-b487-f75aa710e607" alt=""><figcaption></figcaption></figure>

### 5. Customizing Messages

You can customize the messages as you wish and use the variables noted in the 'Message' tab.

You can track your changes on the right-hand side 'Preview' screen.

<figure><img src="https://1127841897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcn43OdOESI4pU0zj5tW%2Fuploads%2FaLRsENYYJmiyODVZmxln%2Fimage.png?alt=media&#x26;token=f5b40410-d7b0-481f-ab72-96b215865401" alt=""><figcaption></figcaption></figure>


---

# 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://docs.avada.io/order-limit-help-center/create-order-limit.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.
