UK postal code support for British stores

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


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 UK postal code support


This feature is available on Store Pickup + Delivery 7.0.4 and above. If you’re using an earlier version, contact us and we will update you.

  1. Go to Store Pickup + Delivery > Settings > Local delivery > Distance validation
  2. Make sure your validation is set to Partial postal code match
  3. Check Enable UK postal code support
  4. Click Save

Enter eligible postal codes

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

  1. Go to Store Pickup + Delivery > Locations > [Location name] > Local delivery > Distance validation
  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 codeEligible for delivery

You can change the default text in our widget to nudge your customers into using the space. We recommend that you:

  1. Go to Store Pickup + Delivery > Settings > Text and design > Local delivery > Widget
  2. Find Search field placeholder
  3. Edit the text to include a sample postal code
  4. Click Save

We used e.g. SW2 1AA as our text, but feel free to use whatever you like. 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.