> 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FoQopVNMftJ4PZPUYr8N6%2Fimage.png?alt=media&amp;token=c740d5de-c9d6-49b9-9567-6b81b5c3b0e6" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2F6jitQZAgHOJOE68yxIWa%2Fimage.png?alt=media&amp;token=d94c02ec-0d65-4efc-8108-0e1498f26cf5" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FGp1A4n3Wsc3dwFBKCczr%2Fimage.png?alt=media&amp;token=93489e27-f9ae-49ba-a624-d03727d951e5" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2F3fcPegrTnCnqNPnxnj9m%2Fimage.png?alt=media&amp;token=9b6448d9-493c-438a-be31-ba93a8c49cd4" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FREKgny4Rr4eD0AIQFfAH%2Fimage.png?alt=media&amp;token=65d80ac1-4899-46a4-8aec-46293305981c" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FlVgsi2TvAB6qr0gifiy3%2Fimage.png?alt=media&amp;token=ad8845f3-d6d5-4a8d-b593-9aa497efc972" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FCG1Gua4K77TZJYdHzZN2%2Fimage.png?alt=media&amp;token=351ea5ed-07e3-4d54-aee4-e48abbb33d20" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2Fst5idGd6E5NnPrU1ygZA%2Fimage.png?alt=media&amp;token=d07c2f51-e071-43b7-8d2c-e28c7e21e783" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2Fyl6lY3FUDAp9CQgnJM0O%2Fimage.png?alt=media&amp;token=cb53132e-60be-49ef-b862-d9987fbcf2fb" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FAKPxyaue0AAtzM60yXXG%2Fimage.png?alt=media&amp;token=d98af671-4b31-4748-b030-0b1b156553ed" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2F16qOBUsmwrNhx6BE6Fiv%2Fimage.png?alt=media&amp;token=0e6b3ea5-5a22-4883-a07b-f4b0b3e25398" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FBqLS7XUPKRQPloePk9di%2Fimage.png?alt=media&amp;token=d60dbf6b-b3b1-4b73-a5a2-4226ab7b585e" 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="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FI5Embnc3bhT5frRk3TyK%2Fimage.png?alt=media&amp;token=bf8db0a2-a7d9-43d2-845b-ddeb0b615edd" alt=""><figcaption></figcaption></figure>
