Shipping rates for the UK and Canada: using postal code prefixes

Use prefix patterns. SW1* matches UK codes starting with SW1 and M5V* matches Canadian codes starting with M5V. Group the prefixes into a zone, add a rate, then test real codes.
Postal codes in the UK and Canada are not simple number ranges, so the usual "10000-19999" approach does not work. Prefix patterns do.
UK outward codes
A UK postcode has two halves. The first half, the outward code, identifies a wider area, such as SW1 for part of London. A prefix pattern lets you price a whole area at once:
SW1*matches every code that starts with SW1.
Canadian forward sortation areas
The first three characters of a Canadian postal code form the forward sortation area (FSA). It works the same way:
M5V*matches every code that starts with M5V.
Building a zone
- Create a zone for the country, for example "London".
- Add the prefixes that belong to it:
SW1*,EC1A,N1*. - Add a rate with a clear name and price.
- Test several real codes with the Test-a-zip checker.
Tips for international stores
- Make one zone per country or region so fees stay easy to manage.
- Use translated rate names in the languages you sell in.
- Check prefixes carefully. A short prefix covers more codes than you might expect.
Selling in Ireland or India? Eircodes and pincodes are supported too. See the full matching guide.
Ready to build your first zone? Install the free plan from the Shopify App Store and follow the setup steps.
Frequently asked questions
What is a UK outward code?
The first half of a UK postcode, such as SW1, which identifies a wider area.
What is a Canadian FSA?
The first three characters of a Canadian postal code, such as M5V.
Does Zipcode Shipping Rate support Ireland and India?
Yes. It supports Eircodes and pincodes as well.
We believe human support is best. Our team helps on every plan, including Free and Shopify Basic.
Set up zip-code shipping in minutes
Start on the free plan. Add zones, test any zip code, and go live when you are ready.
Install free on Shopify
