# 🛒 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 Rule Configuration

Follow these steps to create a new Order Limit rule in your BSS B2B Solution dashboard:

**1. Enable and Configure the Feature**

1. Navigate to Order management and enable the Order Limits feature.
2. Go to the Configuration section and click Create new rule.

**2. Define General Information**

* Name: Enter a descriptive name for your rule (e.g., "Wholesale Minimum Order").
* Priority: Assign a priority number (where 0 is the highest priority). *Note: If multiple rules with the same priority apply to a customer or product, the most recently created rule will take effect.*
* Status: Choose to Enable or Disable the rule.

**3. Set Order Limit (OL) Criteria**

Select the Rule Type and input the required value:

| Rule Type              | Description                                              |
| ---------------------- | -------------------------------------------------------- |
| Minimum Order Amount   | The lowest dollar value allowed for an order.            |
| Minimum Order Quantity | The lowest total quantity of items allowed in an order.  |
| Maximum Order Amount   | The highest dollar value allowed for an order.           |
| Maximum Order Quantity | The highest total quantity of items allowed in an order. |

**4. Define Customer Scope**

Specify which customers the rule applies to:

* Apply to Customers:
  * Select Specific customers by entering their email addresses.
  * Select Customer tags to apply the rule to groups of customers (e.g., customers tagged "b2b").
* Exclude Customers: Choose specific customers or tags to exempt from this rule.

**5. Select Applicable Products**

Specify which products are affected by the limit:

* Apply to Products: Select products, collections, or tags that this rule should monitor.

After defining all settings, click Save.

***

#### Global Order Limit (OL) Settings

In addition to individual rules, you can customize how the Order Limits feature operates globally under Settings.

**Enforcement Level**

Choose how the minimum/maximum value set in your rule (Step 3) is enforced (Order Limit → Settings → General Settings → Choose level to limit):

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2FJMhP8wcDTy7wC0BRFkCz%2Fimage.png?alt=media&#x26;token=9dabb648-1953-4b95-80b9-521a8df3cbd2" alt="Enforcement"><figcaption></figcaption></figure>

* Per Variant: Each specific product variant must reach the configured value.
* Per Product: Each product must reach the configured value.
* All Products (Total Order): The total order value/quantity across all products must reach the configured value.

**Customer Notification Settings**

* Display Notification Message on Product Pages:
  * Yes: A message will display on the product page notifying customers of the limit. You can choose the placement: Below quantity selector or Below "Buy it now" button.
  * No: No message will be displayed until the customer attempts to checkout with an unqualified order.

<figure><img src="https://lh4.googleusercontent.com/oMQ6FNncwHuL1iBVmZ8v2QVfVKGTfpClkd2WN5-u7qHOap851ad6MNPwGQZgKRi_Saf1QS8tS8PgxZp6lzvNkkoQlCYqW0e7Q7fTFW1YaMYffhIJefVBdNlWCQ-wKfeyppX_jGS6sJnCOGXwsRfvgmw" alt=""><figcaption></figcaption></figure>

* Design & Translation: You can customize the look of the pop-up message and translate all associated texts into your local language.

When a customer attempts to check out with an order that violates a rule (e.g., trying to purchase 8 items when the minimum is 10), they will be shown a notification message preventing them from proceeding until the limit is met.

{% 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.
