Jump to content
Sign in to follow this  

Country ISO codes and Zone Rates shipping

Recommended Posts

Has anyone done this (or part of it) already?

Or would the result of me doing it be useful to others?


My shop is in the UK.

I'm planning to use Royal Mail delivery.

They divide the world into four zones:

'UK', 'Europe', 'World Zone 1' and 'World Zone 2'.

They define each zone with a list of countries except for 'World Zone 1'

for which they say: "World Zone 1 covers all countries not listed in either Europe or World Zone 2."

[Just about everything in the UK is as useful as this :D]


So, to set up my four shipping zones I need to:


1) Get a list of countries as used by osCommerce

did this by copying from the country list on the create account page.


2) Get a list of the ISO two letter country codes



3) Re-sort the iso codes alphabetically by country name


4) Match one list against the other


5) Remove UK (GB) and then manually sort the list into a Europe list and a Zone 2 list


6) Assume everything else is the Zone 1 list


7) Copy and paste the 2 character codes into the appropriate fields on the zone shipping admin page

(hoping that no list is longer than 255 characters)


8) Start again from step 5 when I decide to use another carrier!


Someone please tell me that someone else has already done this :(




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this