When a rule runs
- Stops the customer from continuing.
- Shows your error message, either next to the field that has the problem or at the top of the checkout page.
Rules that check the shipping address can only run once Shopify has the full address. In practice, that is when all the required address fields are filled in and the shipping options appear.
Validating earlier, on add to cart
Every rule has a Validate on add-to-cart option. When it is on, the rule also runs when the customer changes their cart, not only at checkout. Some checkout-only details, such as the shipping address, may not be known yet at that point. See Common rule settings.Two kinds of rules
Preset rules
Ready-made checks for common problems, like a missing house number or a P.O. Box. You only fill in a few settings and a message. Each preset can be added once.
Custom rules
Your own rules, built from conditions on the cart, the customer, the address and the delivery method. You can create several, depending on your plan.
Where your rules live in Shopify
Every rule you save in the app also appears in your Shopify admin under Settings → Checkout → Checkout rules. Manage your rules from the app: the app keeps the rule’s settings and status in sync with Shopify when you save, change the status or delete a rule.When rules don’t run
Shopify only runs checkout rules during the online checkout. They don’t run for:- In-store checkouts in the Shopify POS app.
- Orders created by apps or other systems through Shopify’s order API.
- Staff editing an existing order in the Shopify admin.
- Automatic subscription renewals.