Skip to content

Validate address format in Shopify checkout

AddressHero validates the address format in the Shopify checkout. Special characters, a house number in the wrong field or an address line that’s too long are flagged right at the field, before your customer pays.

An error message is shown at an address field in the checkout.

How does AddressHero check the address format in Shopify checkout?

AddressHero checks the shipping address in the Shopify checkout against fixed format rules: missing house number, disallowed special characters, address details in line 1 and a wrong Packstation format. If an entry breaks a rule, the customer sees an error message at the field. The format rules run as a Shopify Function, so they work on every Shopify plan, not just Shopify Plus.

The basic rules are part of every AddressHero plan, including Minimal. Pay per Address and Pay per Order add more rules: suspicious names, character limits and the same rules for the billing address.

Which format rules does AddressHero check?

  • Special characters

    Characters that don’t belong on a shipping label are rejected in the checkout.

  • Address details in line 1

    AddressHero detects when details are entered in the wrong address line.

  • Character limits

    Entries that are too long for the address fields are flagged (Pay per Address and Pay per Order).

  • Suspicious names and billing address

    Suspicious names are flagged, and the rules can also apply to the billing address (Pay per Address and Pay per Order).

Are format rules right for your store?

A good fit if

  • You want to stop format errors in the checkout, even without Shopify Plus.
  • Your carrier can’t handle long fields or special characters.
  • You want to start with a fixed monthly price.

Not a fit if

  • Most of your errors are wrong streets or cities. Format rules check the form, not whether the address exists. That’s what address validation is for.
  • You don’t want to show any error messages in the checkout.

Questions about format rules

Do format rules work without Shopify Plus?

Yes. AddressHero’s format rules run as a Shopify Function and work in the checkout on every Shopify plan.

Which plan includes format rules?

The basic rules are included in every plan: Minimal, Pay per Address and Pay per Order. Suspicious names, character limits and billing address checks are part of Pay per Address and Pay per Order.

Do format rules stay active when I hit my usage cap?

Yes. Other checks pause until the next billing period, but the format rules in the checkout stay active.

Can AddressHero break my checkout?

No. If a check fails or takes too long, the address is treated as valid. An AddressHero outage never blocks the checkout.

Every parcel to the right door.

Book a 30-minute demo with Robin, or start the 14-day free trial straight from the Shopify App Store.

  • Built for Shopify