Is your store in the UK and do you want to use partial postal code validation? You will then want to enable our UK postal code support feature.

Note

This option can be used regardless of your location. It's usually used in countries where postal codes have letters followed by single and double digits (e.g in the UK, SW2 and SW20), in order to differentiate between them.

When you enable it, you can use an underscore to denote a space, and an asterisk to define boundaries. SW2_ will match SW2 1AA, but not SW20 1AA. SW2_*** will match SW2 1AA, but not SW2 1AAB (non-existent postal code).



Enable advanced wildcard matching

  1. Go to Delivery Rates by Zip Code > Settings

  2. Make sure your validation is set to Advanced wildcard matching

  3. Click Save

Enter eligible postal codes

In this example, we want to enable delivery for SW2 postal codes, but not SW20.

  1. Go to Delivery Rates by Zip Code > Zones & Rates > [Zone name] > Zip codes

  2. Enter SW2_***

  3. Click Save

In this particular case, you do not need to use the asterisks, but you can if you want more control over which entries will be valid.

Improve customer experience

When you use an underscore, your customers will need to enter a space between the first part of their postal code and the second. Using our example — SW2_*** — check which entries will validate, and which will not.

Postal code

Eligible for delivery

SW2 1AA

YES

SW21AA

NO

SW20 1AA

NO

Did this answer your question?