> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.omegatheme.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Create Product Limit Rules

Use product limit rules to control how many units of a product (or product group) a customer can buy per order, per day, per month, or per year.

1.   Go to "**Limit purchase**" from admin menu. Click the "**Create limit**" button.
![The Limit purchase list page showing the active rules and a "Create limit" button in the top right corner.](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_1etj4nq.png)
2. Select limit type 

![The "Select type" screen showing the Order Limit section at the top with 4 cards (Minimum Order Quantity, Maximum Order Value, Maximum Order Weight, Limit Orders Per Day) ](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_7ypaq5.png)
* Product limit: Min/Max Product Quantity, Qty Must Be Multiple of X, Min/Max Collection Quantity, Block Product Combination, Require Product Dependency
* Advanced limit: Limit Qty by Customer, Market/Country Limit, Schedule-Based Activation, Customize limit rules

![An Advanced Limit section shows 4 more card types.](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_zpxcdx.png)
3. Click Add template on your chosen type.
4. Name your setting
* Enter a name in the Name field (e.g. Limit - Summer Collection)
5. Setup Product Limit Rule
* This allows you to set the min, max, or multiple number of units a customer can purchase for a specific product or variant in a single order
* **Min (quantity)** — the minimum number a customer must buy (leave blank or enter `0`for no minimum)
* **Max (quantity)** — the maximum number a customer can buy (leave blank or enter `0` for no maximum)
* **Multiple** — if you want purchases to happen in multiples only (e.g., `6` means customers must buy 6, 12, 18, etc.)

![The rule creation form for Min/Max Product Quantity. Limit rules section with Min, Max, and Multiple input fields](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_17p8hu7.png)
* Set the maximum purchase limit equal to the product's available inventory, check the **"Set the maximum equal to the inventory"** option.

![and a "Set the maximum equal to the inventory" checkbox](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1rhrqmp.png)
> **Tip:** The **Limit preview** panel on the right shows a live preview of how the rule message will appear on a product page.

6. Set how the limit is tracked
* Under **Limit scope (per customer)**, choose how often the limit resets
* Per order: the limit applies to each checkout. Resets with every new order.
* Per day: tracks the customer's total purchases within a calendar day.
* Per month: tracks total purchases within a calendar month.
* Per year: tracks total purchases within a calendar year.
* Lifetime: tracks total purchases across all time.

![ The Limit scope dropdown open, showing options: Per order (highlighted), Per day, Per month, Per year, Lifetime.](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_h0yzlh.png)
7. Choose which products the rule applies to.

Under Apply to, select one of 5 options:
* **All products**: Apply the limit rules to all products in your store
* **Specific collections**:  Apply the limit rules to the selected collections

![The Apply to section showing the "Specific collections" option selected, with a search field.](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_17tjzxu.png)
* **Group products**: Apply the limit rules to products that match specific conditions (e.g., tags, titles, or vendors) 

![The "Group products" option selected in the Apply to section. A conditions builder appears with rows for Title (contains), Vendor (contains), and Tag (is equal to), with a "+ Add condition" button below. Above the conditions are two radio buttons: "all conditions" and "any conditions](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_dt1q3w.png)
* **Specific products**: Apply the limit rules to the selected individual products

![The "Specific products" option selected, showing a search field with Browse button and three products listed ](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_7ffvqu.png)
* **Specific product variants**: Apply the limit rules to the selected product variants

![The "Specific product variants" option selected, showing a search field and a variant listed](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_1v7thr5.png)

8. Set how quantities are counted

Under Set quantity condition, choose how the app tallies up the customer's cart:
![The Set quantity condition section with three radio options: "Total quantity of all selected products," "Total quantity of each selected product," and "Total quantity of each selected variant"](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1g4jdph.png)
* **Total quantity of all selected products:** Add the total quantity of products belonging to the selected collections and compare min/max
* **Total quantity of each selected collections:** Add the total quantity of products in each selected collection and compare min/max
* **Total quantity of each selected products:** Sum the quantities of each product to compare min/max
* **Total quantity of each selected variants:** the quantity of each variant to compare min/max

8. Apply to markets 
* Allows merchants to set personalized limit rules for each market or country, tailoring restrictions to regional needs.
* Under Apply to markets, select which countries or regions this rule show apply to.
* By default, all markets are selected.
* Search and choose the countries/regions where you want the rule to apply.
![The Apply to markets section showing a search field and a checklist](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_u6hw1e.png)
9. Target customer

Please follow [this guide](https://help.omegatheme.com/en/article/apply-limit-to-customer-ync2i6/) to set up your target customer

10. Schedule

You can set start and end times for limit rules, and the system will automatically follow the schedule, saving management time.

* Check Set Schedule to run this rule only during a specific time window.
* Choose a Schedule timezone, then set a Start date and Start time.
* Check Set end date and add an end date/time if you want the rule to automatically turn off.
![The Schedule section with "Set schedule" checked, Schedule timezone, Start date and Start time](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_73lq3f.png =665xauto)
11. Customize the notification messages

Under Display settings, edit the messages customers see when they violate the rule:
* Minimum notification: shown when the quantity is below the minimum
* Maximum notification: shown when the quantity exceeds the maximum
* Multiple notification: shown when the quantity isn't a valid multiple
* Notification background: background color of the alert
* Notification color: text color of the alert


![The Display settings section showing three notification text fields: Minimum notification, Maximum notification, Multiple notification, Notification background, Notification color](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1hqisnq.png)
> **Note:** `%min`, `%max`, and `%m` are placeholders — the app automatically replaces them with the actual numbers from your rule

12. Action After Block

Please follow [this guide](https://help.omegatheme.com/en/article/action-after-block-118jak0/) to set up your target customer

13. Click Save and your rule is now active
