> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/samita-wholesale-b2b/add-on-features/create-an-order-limit.md).

# Order Limit

Order Limit lets you set a condition customers must meet — like a minimum order quantity — before they can check out.

## Steps to manage

{% stepper %}
{% step %}

### Open Order limit

Open the app, go to **Add-on Features**, then click **Order limit > Setup order limit**.

<figure><img src="/files/aN37IWVEv9m4kR7OQcua" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Start a new rule

Click **Create new order limit**.

<figure><img src="/files/YIdKnTowKX4FlWH7vR7k" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Name the rule

In **Rule information**, give the rule a title and set its status to active or draft.

<figure><img src="/files/QP3JUKpKK1dfsYweq9Km" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Choose which customers it applies to

In **Customer eligibility**, choose:

* **All customers** — everyone.
* **Logged-in customers** — only customers logged in to your store.
* **Specific customers** — one or a few chosen customer accounts.
* **Customer tags** — only logged-in customers with the tag you specify.

You can also **exclude** specific customers.

<figure><img src="/files/TyUhyeqcyZyE6Fv8JRaU" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Choose a market

In **Market eligibility**, choose **Specific markets** and tick the ones you want, or choose **All markets**.

{% hint style="info" %}
The app pulls market data directly from **Shopify Markets**. Any market you've created in Shopify will automatically be available here. If a market is missing, make sure it's been created and configured in your Shopify Markets settings first.
{% endhint %}

<figure><img src="/files/mhUFowv4pGjbBrkV1Eom" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Choose which products it applies to

In **Product eligibility**, choose **All products**, **Specific products**, **Specific collections**, or **Product tag** — and optionally **exclude** specific products.

<figure><img src="/files/KIniXv8idz5cu78yBvau" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Configure the limit

Choose the order limit type:

* **Entire order** — limits the whole order's total quantity or amount.
* **Each product** — limits each product in the order.
* **Each variant** — limits each variant of a product in the order.

<figure><img src="/files/dyu0CDV0lUMh77Alsgll" alt=""><figcaption></figcaption></figure>

Then choose the scope — quantity, amount, or weight — and set the allowed range (from … to …).

<figure><img src="/files/vpblmSS7tVPfFQmsv5Dy" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Save

Click **Save**.
{% endstep %}
{% endstepper %}

## Design the warning message on the product page

The app can show a message on the product page to let customers know about the order limit. Turn this on or off here:

<figure><img src="/files/FpfHgohsQE6es2WtG88R" alt=""><figcaption></figcaption></figure>

To change the message's colors, use these settings:

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

{% hint style="info" %}
**Important:** make sure the app embed is activated in your theme, or this data won't show on your storefront. See [Activate/Deactivate app in the theme](/samita-wholesale-b2b/mandatory-steps/activate-deactivate-app-in-the-theme.md).
{% endhint %}

> ### **Need support?**
>
> If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [support@samita.io](https://help.samita.io/support@samita.io)


---

# 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://docs.samita.io/samita-wholesale-b2b/add-on-features/create-an-order-limit.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.
