# 🛒 Set Minimum or Maximum Order Quantity/Amount Your Customers Can Buy

The Order Limit feature allows you to enforce specific purchasing rules for your wholesale customers, such as setting a minimum total order amount or a maximum product quantity. This ensures customers meet your B2B purchasing criteria before checking out (e.g., only purchases above $200 are permitted).

## 🧭 Step-by-step: Create a order limit ruole

### Step 1: Enable & Access

1. Go to **Order Management** in the app sidebar.
2. Toggle **Order Limits** ON.
3. Click **Configuration**.
4. Click **Add Rule**.

***

### Step 2: General Information

| Field        | Description                  |
| ------------ | ---------------------------- |
| **Name**     | Internal label for this rule |
| **Priority** | `0` = highest                |
| **Status**   | Enable or disable            |

***

### Step 3: Choose the Limit Type

| Rule Type                  | Description                                        |
| -------------------------- | -------------------------------------------------- |
| **Minimum Order Amount**   | Customers must spend at least this dollar value    |
| **Minimum Order Quantity** | Customers must buy at least this many items        |
| **Maximum Order Amount**   | Customers cannot spend more than this dollar value |
| **Maximum Order Quantity** | Customers cannot buy more than this many items     |

Enter the threshold value.

***

### Step 4: Customer Scope

Define who this rule applies to:

* Specific customer emails
* Customer tags (e.g., `wholesale`, `trial`)
* All customers or logged-in customers only

Optionally **exclude** specific customers or tags.

***

### Step 5: Product Selection

Choose which products count toward the limit:

* All products in the store
* Specific products, collections, or product tags

### How It Works

If a customer's cart does not meet the minimum, or exceeds the maximum:

* A clear notification message appears on the product page or at checkout
* The customer cannot proceed to checkout until the limit is satisfied

***

## Global Settings

#### Enforcement Level (Module-Wide Setting)

<figure><img src="/files/TG8ZxM7LwoUPLLVUL5jF" alt="Enforcement"><figcaption></figcaption></figure>

This is a **global setting** that applies to the entire Order Limits module — not a per-rule configuration. Choose one scope that all your order limit rules will use:

| Level                          | How it works                                                                                     |
| ------------------------------ | ------------------------------------------------------------------------------------------------ |
| **Per Variant**                | Each individual variant is evaluated independently against the threshold                         |
| **Per Product**                | Each product's combined quantity (across all its variants) is evaluated against the threshold    |
| **All Products (Total Order)** | The combined total across all qualifying products in the cart is evaluated against the threshold |

#### Customer Notification

Choose when and how to show limit messages:

| Option                                   | When message shows                              |
| ---------------------------------------- | ----------------------------------------------- |
| Product page (below quantity selector)   | Customers see the limit before adding to cart   |
| Product page (below "Buy it now" button) | Subtle placement after the primary CTA          |
| Checkout only                            | Message appears only when they try to check out |

Customize the notification message text, design, and styling. Translation support is available for multilingual stores.

{% hint style="info" %}
If you have any trouble using the feature, or any recommendations, please reach out to us at [**support-sbc@bsscommerce.com**](mailto:support-sbc@bsscommerce.com) or [**Live Chat**](https://go.crisp.chat/chat/embed/?website_id=9f64b5a9-1a02-4190-93b8-8ef56b19f740).
{% endhint %}


---

# 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-shpf.bsscommerce.com/b2b-wholesale-solution/order-management/order-limits/set-minimum-or-maximum-order-quantity-amount-your-customers-can-buy.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.
