Checkout Rules/Order Validation
Order Validation
FreeRules that stop an order from being placed and tell the customer why. Require a minimum order amount, cap the number of items, block PO boxes or regions you can't ship to, or limit a product to some customers. Each rule has conditions and its own message, shown at the top of checkout or next to the field to fix. Rules run as Shopify Functions, so they also apply to express checkouts, and they work on every Shopify plan.
Why use Order Validation at checkout →Works on every Shopify plan. These rules run as Shopify Functions, not checkout blocks — there is nothing to add in the checkout editor.
Settings reference
| Setting | Type | Description |
|---|---|---|
| Rule name | Text | For your own reference, e.g. "Minimum order $25". |
| Conditions | Rules | When the order is blocked: cart total, number of items, product in cart, cart attribute, customer tag, logged in, new customer, B2B or B2C, country, shipping address fields, selected shipping or payment method, language, market, date, day of week and time. Match all (AND) or any (OR). |
| Error message | Text | Shown to the customer when the rule blocks checkout. Can be translated per language. |
| Show message at | Select | Top of checkout, or next to a field: email, phone, delivery address line 1 or 2, city, state, ZIP, country, or billing country, state or ZIP. |
| Run when | Checkboxes | When the customer clicks Pay now, when they change checkout fields, or both. |
| Active | Toggle | Turn a rule off without deleting it. |
How it works
- When a rule's conditions match, checkout is blocked and your message is shown until the customer changes the order.
- The message can sit at the top of checkout or next to the field the customer needs to fix, such as the address or email.
- Item limits count every unit in the cart; combine them with "Product in cart" to target orders that contain a product.
- Rules run as Shopify Functions, so they also apply to express checkouts such as Shop Pay, Apple Pay and Google Pay.
- Warranty and shipping protection add-ons from this app can never be bought on their own — that check is always on.
- Messages can be translated per checkout language.
Translations
This block supports translations for every language published in your Shopify store. Open the block editor in the app, click Translations, select a language, and enter your translated text. The correct language is shown to customers automatically based on their storefront language.
Translatable fields
- Error message
Quick setup
- 1In the app, open Rules and click Activate the first time, so Shopify starts running your rules at checkout
- 2Choose Order Validation → click New
- 3Add the conditions that should block an order, e.g. Cart total is less than 25
- 4Write the message customers will see and choose where it appears, then click Save
- 5Test it in your checkout with an order that breaks the rule