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 feature lets you use an asterisk to denote a space with partial postal code matching. SW2* will match SW2 1AA, but not SW20 1AA.
Enable UK postal code support
Compatibility
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.
- Go to Store Pickup + Delivery > Settings > Local delivery > Distance validation
- Make sure your validation is set to Partial postal code match
- Check Enable UK postal code support
- Click Save
Enter eligible postal codes
In this example, we want to enable delivery for SW2 postal codes, but not SW20.
- Go to Store Pickup + Delivery > Locations > [Location name] > Local delivery > Distance validation
- Enter SW2*
- Click Save
Improve customer experience
When you use an asterisk, 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 |
You can change the default text in our widget to nudge your customers into using the space. We recommend that you:
- Go to Store Pickup + Delivery > Settings > Text and design > Local delivery > Widget
- Find Search field placeholder
- Edit the text to include a sample postal code
- Click Save
We used e.g. SW2 1AA as our text, but feel free to use whatever you like.