Checkout Validations

Create a checkout validation

Start from a template, set conditions, choose where the error shows and write the message.


Checkout validations stop an order at checkout when your conditions are met, and show the customer a message that explains why. Use them to avoid orders you cannot fulfil, such as unsupported countries or carts below your minimum. Validations work on every Shopify plan. You can have up to 25 validations.

1. Open Checkout validations

Go to Checkout validations. The page lists your validations with their status and the error message customers see.

  • Create validation – opens the template picker.
  • Status toggle – click Active or Inactive on a row.
  • Bulk actions – tick rows to activate, deactivate or delete several at once.
  • Delete – the bin icon on a row.

2. Start from a template

  1. Click Create validation. The Choose a template page opens.
  2. Search templates (for example country, minimum, login) or filter by category.
  3. Click a template. The form opens pre-filled, with a banner Started from: .... You can change anything.
Choose a template page

See all Validation templates.

3. Fill in the validation form

  • Validation name – up to 100 characters.
  • Conditions – the error shows only while all conditions are true. Add conditions with a field, an operator and a value. See Conditions.
  • Position – where the error message appears: Top of the checkout page, Email field, Country field, State / province field, ZIP / postal code field, Address field, Phone field, Company field or Cart (order summary).
  • Error message – the text customers see when the conditions are met. A preview shows below as you type.
  • Status – Active or Inactive.
Validation form with conditions, position and error message preview

4. Save

Click Save. If Shopify cannot be updated at once, the app saves your validation and shows the reason, so you can fix it. Add at least one condition before saving.

5. Create from scratch

Pro. On the template page choose Create from scratch to build your own rules with all the conditions.

Tips

  • Write error messages that tell the customer what to do, for example Orders below $30 are not accepted. Please add more items.
  • Put the message next to the field that caused it. A country restriction fits best on the Country field.
  • Test with a real checkout after you activate the validation.