The five groups
| Group | Checks | Typical use |
|---|---|---|
| Customer | Who is buying — tags, total spent, order count, logged in | Only offer invoice payment to tagged wholesale customers |
| Cart | Cart total, subtotal, number of items, currency, cart attributes | Hide Cash on Delivery above a cart value |
| Products | Product tags, vendors, titles, variants, specific products, collections | Hide Express Shipping when a bulky product is in the cart |
| Location | Customer country, shipping country, state, ZIP / postal code, shipping method | Hide Cash on Delivery outside one country |
| Discounts | Whether a discount is applied, total discount amount | Hide a payment method on discounted orders |
Things beginners trip on
Customer conditions need customer information
Conditions such as Customer tag or Customer is logged in may not match guest shoppers.
- Customer conditions work only when customer information is available, so guest checkouts may not match customer-based conditions.
- Cart subtotal vs cart total — subtotal is the product amount before extra charges. Cart total includes additional amounts Shopify adds.
- Shipping country vs customer country — use Shipping country for delivery-related rules, not Customer country.
- Product conditions can match when a qualifying item is in the cart.
Condition sets
Conditions are organized into different sets, such as General Rules, Product-Based Rules, and Advanced & Custom Rules. If you cannot find a condition, check the selected condition set before adding it.
Use the All Conditions Reference page when you need the full list of conditions and operators.