Skip to content
Esc

Start typing to search the docs.

On this page
Reference Updated Aug 16, 2026

Conditions

Conditions decide when an Advanced Rule should apply. You can create conditions based on cart amount, customer, location, products in the cart, product quantity, or date. Example: Apply a minimum order quantity only when the customer's country is Canada.

Applies to
  • Premium plan
  • Advanced Rules
Doesn't apply to
  • Simple Order Limits — simple rules apply without additional conditions

Condition groups

Condition groupWhat it checksSimple example
Cart amountThe value of the customer’s cartApply when the cart total is over $100
CustomerCustomer information or statusApply only to a certain customer type
LocationCustomer country, country list, province, or stateApply only in Canada
Cart contentsWhich products are in the cartApply when Product A is in the cart
Per-product quantityHow many of a product or variant are in the cartApply when Product A quantity is 5 or more
DatesWhen the rule should applyApply from 1 November to 8 November

After choosing a condition, select how it should be checked and enter the value. If you add more than one condition, use Match type to choose whether All or Any conditions must match.

Location conditions

Use location conditions when a rule should apply only to customers in certain countries, provinces, or states.

ConditionUse it for
CountryOne specific country
Country ListSeveral countries in one condition
Province / StateA specific province or state

Date conditions

Use Date After and Date Before when a rule should work only during a specific period.

Example: For a sale from 1 November to 8 November, add Date After 1 November AND Date Before 8 November, then choose All as the Match type.

Cart contents

Use Cart contents conditions when a rule should apply only if a specific product or variant is in the customer’s cart.

Example: Apply a minimum cart quantity only when Product A is in the cart.

If the cart contains different products, test the rule carefully. Check what happens when the selected product is present and when it is not present.

Testing conditions

After saving the rule, test it with a few different orders:

  • One order where the condition should match.
  • One order where the condition should not match.
  • One order using the exact limit or boundary value.

If the rule does not apply, check the condition values, Match type, and rule status before changing the limit itself.

Frequently asked

Can I use several conditions from different groups?

Yes. Groups are just categories in the picker — combine freely and let the match type decide how they interact.

What happens with no conditions?

The rule applies to everything, which makes it a Simple limit with extra steps. If that is what you want, build it in Simple.

Do province codes need a particular format?

They are entered as comma-separated codes. Check the format against your own store before relying on it.

See also: Match type · Build an advanced rule · Advanced rules