# Rules: limits that apply only in some situations

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

A rule is a limit that applies only in the situation that you choose. With rules you can limit a collection, a vendor or a group of products, give tagged customers their own limits, or make a limit depend on what is in the cart or on the date.

Rules are part of the Premium and Plus plans.

To open the page, go to **Apps → MinMaxify Order Limits → Rules** in your Shopify admin.

## How a rule is built

A rule has two parts:

- **When**: the condition. For example, the customer has the tag "wholesale", or the cart contains a product from a collection. A rule can also have no condition. Then it always applies, and the editor shows only the limit.
- **Then**: one or more limits, each with the message that customers see.

## Create a rule

1. On **Rules**, click **Add rule**.
2. Choose a starting point. Each starting point fills in a rule that you can change. See the list below.
3. In **Name**, type a name for the rule. Customers do not see it.
4. Set the condition under **When**, if the rule has one. A rule that starts without a condition has the button **Add a condition** below the limit. See [Rule conditions: when a rule applies](https://docs.minmaxify.com/article/rule-conditions).
5. Set the limit: choose what it counts in **Per**, and enter the numbers. See [Rule limits: what a rule can limit](https://docs.minmaxify.com/article/rule-limits).
6. In **Message to customers**, type the text that customers see when this limit stops their order. Every limit needs a message. A limit without a message cannot be saved.
7. Check the panel **This rule does**. It describes your rule in words.
8. Click **Save** in the bar at the top of the page.
9. Open **Publish** and click **Publish now**.

## Starting points

| Starting point | Use it to |
| --- | --- |
| **Cart quantity** | Set a minimum or maximum number of items in the cart. |
| **Cart amount** | Set a minimum or maximum order amount. |
| **Line limit** | Limit how many different items an order can have. |
| **Mutually exclusive** | Allow only one item from a group of products. |
| **Mutually mandatory** | Require at least a number of different items from a group, when one of them is in the cart. |
| **Exclusive groups** | When a product from group A is in the cart, block the products of group B. |
| **Mandatory groups** | When a product from group A is in the cart, require a product from group B. |
| **1 free per cart** | Allow only one free item in each order. |
| **By tag** | Apply a limit only to customers with a customer tag. |
| **Blank rule** | Build a rule yourself. |

## Manage your rules

The **Rules** page lists your rules. Each rule shows its name, **On** or **Off**, and a short description of what it does.

- **Turn a rule on or off:** use the switch on the rule. A rule that is off is not published.
- **Change a rule:** click its name.
- **Change the order:** use the arrows on the rule.
- **Copy, rename or delete:** open the menu on the rule and choose **Duplicate**, **Rename** or **Delete**. A copy starts switched off.

Each of these changes reaches your store only after you publish.

## How rules work together

- Limits for the entire cart or for a group of products: every limit that applies is checked, and the cart must meet all of them.
- Limits for each product or each SKU: one limit is used for each item. Rules of the same kind are checked from top to bottom, and the first rule that matches the item is used. Put the more specific rule higher in the list.
- Do NOT use a limit for each SKU (**Per SKU (line item)**, **Product Group (per SKU)**) and a limit for each product (**Per Product**, **Product Group (per product)**) for the same products. Choose one kind for those products.
- A limit on the **Product Limits** page comes before a rule for that product.
- Your **Global Limits** for the order amount, the number of items and the weight always apply as well.
- Limits apply to each order. A rule cannot look at a customer's earlier orders.

## If your store still uses Group Limits

Some stores have **Group Limits** in the menu. Those stores publish their groups, not rules, and their menu normally has no **Rules**. If **Rules** is in the menu, the page lists rules that were never published, and it has no **Add rule** button. To use rules, convert your groups first. See [Group Limits, and how to convert groups to Rules](https://docs.minmaxify.com/article/group-limits).

## Examples

- [Set one limit for a collection, vendor or product tag](https://docs.minmaxify.com/article/collection-limit)
- [Set limits only for wholesale or tagged customers](https://docs.minmaxify.com/article/wholesale-customer-tags)
- [Set a minimum order amount with exceptions](https://docs.minmaxify.com/article/minimum-with-exceptions)
- [Stop products from being ordered together, or require them together](https://docs.minmaxify.com/article/products-together)
