Skip to content

Address Validation

Address Validation lets you define rules that check the customer’s shipping address before an order is placed. If the address matches your rule’s conditions, checkout is blocked and the customer sees your custom error message.

Address Validation at checkout


  1. Go to Address Validations and click Create validation.
  2. Configure settings (see below).
  3. Toggle the rule active.
  4. Click Save.

SettingDescription
StatusActive or Inactive
ConditionsThe rules that decide when checkout should be blocked
Condition logicBlock when any condition matches or all conditions match
Error messageMessage shown to the customer when checkout is blocked
  • The listing shows all rules with their active/inactive status.
  • Toggle rules on/off without deleting them.
  • Delete a rule to remove it permanently.

  • New rules start as Inactive. You must explicitly activate them.
  • Works on checkout page only.

ScenarioConditions to set
Block PO Box deliveriesAddress line 1 contains PO Box OR P.O. Box (use “Any” logic)
Restrict to specific countries onlyCountry is not your list of served countries
Block specific zip code rangesZip starts with restricted prefix
Block deliveries to a specific city or regionCity contains restricted area name
  • Write error messages that tell customers what to do next: “We don’t ship to PO Boxes. Please enter a home or business address.”
  • Test both a matching address (should block) and a valid address (should pass) before going live.

Address ValidationOrder Validation
Blocks based on where the order ships: address fields (city, zip, country, address lines, first/last name)Blocks based on what is in the cart or who the customer is: cart total, product tags, customer tags
Use for shipping restrictions (regions, PO boxes, unsupported countries)Use for cart-level rules (minimum order, restricted product combos, fraud signals)