Address Blocker

Image

The Address Blocker can block checkout when an address or specific components of an address are not allowed according to the rules you define. The functionality is provided on any paid plan with unlimited usage.

How to setup address blocking

In this video, we'll take a look at how to setup the Address Blocker rules and how to add it to checkout (https://www.loom.com/share/e599fb02b71b4632b5d8eb780cca766a):

Supported Rules

The following rule types are supported for blocking checkout:

  • Address type: Block PO, USPS Gopost, Diplomatic, and Military
  • Zipcodes: Block specific zipcodes and zipcode ranges.
  • Custom Regex rules: Apply custom regex (regular expressions) on any shipping address field.
  • Ascii characters: Many shipping providers do not support emojis or special characters.
  • Character limits: Require a maximum character limit on any shipping address field.
  • Street numbers: Require a street number on address line 1.
  • Required fields: Require specific fields such as phone number.
  • Matching fields: Require specific billing and shipping address fields to match.

If you require additional rules to be supported, please contact support as we are always looking to expand the rulesets.

Error Messages & Multi-Language

We support 10 languages out of box when using default error messages. We also support adding your own error messages with multi-language support.

Shopify Markets

The Address Blocker supports selecting Shopify Markets that your rules apply to. However, we currently only allow the grouping of rules for a single market. Multi-market support is coming by end of 2024.

Custom rules using regular expressions (Regex)

If you need to block specific address formats, we recommend using our Custom rule which accepts any valid regular expression (regex). You can use a tool like https://regex101.com/ or https://regexr.com/.

Common regex examples

  • Block Japanese characters: /[一-龠]+|[ぁ-ゔ]+|[ァ-ヴー]+|[々〆〤ヶ]+/u