Conditions
A rule applies when its conditions are met. Missing data, such as an address not entered yet, never meets a condition.

Groups
Conditions sit in groups. In an all group every condition must be met; in an any group one is enough. Groups can contain other groups, for example "country is Germany and (cart total is more than 500 or customer tag is wholesale)".
Available conditions
| Area | Conditions |
|---|---|
| Address | Country (with country groups), Province or state, City, Postcode (lists, ranges, patterns, CSV import), Address is a PO box |
| Cart | Cart total, Cart weight (g), Cart quantity, Cart attribute, Contains a subscription, A discount is applied |
| Products | Product, Product variant, Collection, Product tag, SKU, Vendor (any item, every item or no item matches) |
| Customer | Customer tag, Customer is logged in, Customer order count, Customer total spent |
| B2B | B2B order, B2B company, B2B company location (Plus plan) |
| Market | Market, Language, Currency (Pro plan) |
| Delivery | Delivery method, Delivery type (for payment and validation rules) |
| Time | Day of the week, Time of day (in your shop's time zone) |
Country group adds every country of a group (for example the EU) to a country condition at once. Import postcodes from CSV reads a file with one postcode or range per line.
Express checkout and addresses
Express wallets (Shop Pay, Apple Pay, Google Pay) share only the country until the buyer confirms. Address conditions such as postcode or PO box are not met at that point, so a wallet buyer does not lose methods by mistake.
Discount codes
Shopify does not pass discount codes to payment, delivery and validation functions. Use A discount is applied instead; it is met when any discount reduces the cart.
Updated 2026-11-23