# Create new order limit

The Samita Order Limit app lets you control how much customers can order by setting limits based on quantity, total amount, or weight. You can apply these limits to specific customers, products, or your entire store.

Follow the steps below to create a new rule:

***

### Step-by-Step Instructions

#### Step 1: Create a new order limit rule

1. From your Shopify admin, open the Samita Order Limit app.
2. On the dashboard, click the **Create new order limit rule** button.
3. In the **Title** field, give your rule a clear name (e.g., “Max 5 items per customer” or “Wholesale minimum order $100”).

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

#### Step 2: Decide how the order limit will be applied on your cart page

1. Choose the Rule Type
   * Quantity: Limit the number of items per order
   * Order Amount: Limit based on total price (before discount/shipping)
   * Weight: Limit based on total weight of the order
2. Set the Minimum and/or Maximum Value\
   Enter the limit value depending on your rule type (e.g., minimum 3 items, maximum $200). You can leave one blank if you only want to set a minimum or maximum.
3. Choose whether applying to each variant/each product/all products in the cart page.

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

#### Step 3: Set the  target scope

Use these settings to control where and to whom the rule applies:

* Limit orders based on Customers condition
* Apply the limit order rule to Product(s)

#### Step 4: Adjust error message

This message will display when a customer tries to place an order that doesn’t meet the rule.

Example:

* “You must order at least $50 to check out.”
* “You can only purchase up to 10 units of this product.”

1. Scroll to Message tab to change the error message content
2. Scroll to Customize tab to adjust the error message styling

<figure><img src="/files/7tr05wMlb4OBk05WOG4g" alt=""><figcaption></figcaption></figure>

#### Step 5: Save your changes

🎉 Your order limit rule is now active!

***

### ✅ Important: Enable the App Embed

Make sure the app is enabled in your theme to apply rules on the storefront. See the Theme Integration guide for instructions.

***

### 🧪 Test Your Rule

Try placing an order on your storefront that matches and exceeds the rule conditions to confirm that it’s working correctly.

***

Need help? Contact us anytime at <support@samita.io>. We’re happy to assist!


---

# 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.samita.io/order-limit/order-limit-rules/create-new-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.
