> For the complete documentation index, see [llms.txt](https://docs.paretodeals.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paretodeals.com/pareto-limit-purchases/create-limit-rules.md).

# Create limit rules

* Go to "**Limit rules**" from admin menu. Click the "**Create limit**" button.

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

1. **Select limit type**

We have 4 options:

* &#x20;Limit by quantity
* Limit by value
* Limit by weight (grams)
* Restrict by product (example: block adding  product A if product B is in the cart)

2. **Setup limit rule**

* Enter the desired **minimum, maximum** and **multiple** purchase limits for the product.
* If no maximum purchase limit is required, leave the field blank or enter "0".

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

* To set the maximum purchase limit equal to the product's available inventory, check the **"Set the maximum equal to the inventory"** option.

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

2. **Select Products or Product Groups to Apply Limits**

Choose from 5 options to apply the limit rules:

* **All products:** Apply the limit rules to all products in your store
* **Specific collections:** Apply the limit rules to the selected collections.

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

* **Group products**: Apply the limit rules to products that match specific conditions (e.g., tags, titles, or vendors).

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

* **Specific products:** Apply the limit rules to the selected individual products.

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

* **Specific product variants**: Apply the limit rules to the selected product variants.

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

3. **Set quantity condition**

Define how to calculate limit condition. There are 4 options:

* **Total quantity of all products:** Add the total quantity of products belonging to the selected collections and compare min/max
* **Total quantity of each collection:** Add the total quantity of products in each selected collection and compare min/max
* **Total quantity of each products:** Sum the quantities of each product to compare min/max
* **Total quantity of each variant:** the quantity of each variant to compare min/max

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

4. **Apply to markets**&#x20;

* Allows merchants to set personalized limit rules for each market or country, tailoring restrictions to regional needs.

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

* Search and choose the countries/regions where you want the rule to apply.

5. **Target customer**

Select the customer segment to apply the limit rules. There are 5 options:

* **All visitors:** Apply the limit rules to all customers visiting your store.
* **Logged-in customers:** Apply the limit rules to all logged-in customers.
* **Logged-in customers with tag:** Apply the limit rules to logged-in customers with the selected tag.

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

* **Customers without tag:** Apply the limit rules to customers who do not have the selected tag.

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

* **Visitors with IP**: Apply the limit rules to visitors with the specified IP addresses from the list you selected

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

5. **Schedule**

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

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