# Rule limits: what a rule can limit

Source: https://docs.minmaxify.com/article/rule-limits (updated 2026-11-26)

In the rule editor you set what a rule limits. Each limit has three parts: what it counts (**Per**), the numbers, and the message for customers. This article explains each part.

For the basics of rules, see [Rules: limits that apply only in some situations](https://docs.minmaxify.com/article/rules).

## Per: what the limit counts

| Per | The limit counts | Example |
| --- | --- | --- |
| **Entire Cart** | Everything in the cart together. | At least 12 items in the order. |
| **Per SKU (line item)** | Each SKU on its own, for every product. | At most 5 of each variant. |
| **Per Product** | Each product on its own. All variants of the product are added together. | At most 5 of each product, in any sizes. |
| **Product Group** | All items that match your product filter, added together. | At least 6 bottles from the collection "Wine", in any mix. |
| **Product Group (per SKU)** | Each SKU that matches your product filter, on its own. | At most 2 of each variant of products with the tag "limited". |
| **Product Group (per product)** | Each product that matches your product filter, with its variants added together. | At most 2 of each product from one vendor. |

## The numbers

A new limit usually starts with one field. Click **Add field** to add another, and the **×** next to a field to remove it.

| Field | What it sets |
| --- | --- |
| **Min** | The smallest quantity. |
| **Max** | The largest quantity. In a rule, a **Max** of 0 means that these products cannot be ordered at all. |
| **In multiples of** | The quantity must be a multiple of this number, for example 6 for cases of 6. |
| **Min total ($)** | The smallest total price of the items that the limit counts. |
| **Max total ($)** | The largest total price of the items that the limit counts. |
| **Min weight** and **Max weight** | The smallest and largest total weight. The unit is the **Weight unit** on **Global Limits**, and the name of the field shows it, for example "Min weight (kg)". |
| **Min lines** and **Max lines** | The smallest and largest number of different lines in the cart. One product variant in the cart is one line, whatever its quantity. |

## Choose the products of a group

For the three **Product Group** options, the limit shows **Products in the group**. Choose a field, a comparison and a value.

| Choose products by | Comparisons |
| --- | --- |
| **Collection**, **Product** | **is**, **is not**, **is one of**, **is not one of**. You pick the collection or product from your store. |
| **Product Tag**, **Customer Tag** | **is**, **is not**, **is one of**, **is not one of**. You type the tag. |
| **Product Title**, **Product Type**, **Vendor**, **Handle**, **SKU**, **Variant Title** | **contains**, **not containing**, **equal to**, **not equal to**, **one of**, **not one of**. You type the text. |
| **Price**, **Weight (grams)** | **equal to**, **not equal to**, **greater than**, **less than**, **between**. |
| **All conditions**, **Any condition** | Combine several of the lines above. Add each one with **Add condition**. |

- With **is one of** for collections or products, click **Add Collections** or **Add Products**. Each item in the list has a **Remove** button.
- With **one of** for text, or **is one of** for tags, type one value on each line.
- Capital letters matter in text and tags: "Shirt" and "shirt" are different. With **contains**, the text can be a part of the value.
- **Customer Tag** in this list does not choose products. It makes the limit apply only to customers with that tag. For limits by customer tag, we recommend a **Customer Tag** condition instead.

## A minimum for a group

A minimum for a product group is checked only when the cart has at least one item from the group. A customer who orders nothing from the group is not stopped.

To require that every order has an item from the group, set **Per** to **Product Group** and select **Mandatory (cart must include items from this group)**.

## Message to customers

- Every limit needs its own text in **Message to customers**. Customers see it when the limit stops their order. A limit without a message is not saved and not published.
- Write the message as a complete, plain sentence, for example "Please order at least 6 bottles of wine."
- The tokens of the **Messages** page, such as `{{ProductName}}`, are not for rule messages. Type the numbers and names in the text yourself.
- A rule's message is one text for all languages.

## More than one limit in a rule

In a rule with a condition, click **Add limit** to add another limit under the same **When**. To remove a limit, click **Remove limit**.

A rule without a condition has one limit and no **Add limit** button. For a second limit without a condition, create a second rule.
