Pages

Thursday, July 4, 2013

Magento Country codes for table rate

I was getting mad trying to figure out how to know the Magentro Country Codes.

When you want to upload a Shipping Table Rate (csv file) you need to enter those codes in your file.

Looks like they don’t give the info in a easy way. Luckily, I’ve found a dirty solution that just works.

I went to the admin section and I got the code from one of those “Specific Countries” select input.

Here’s the list, enjoy ;)

AF - Afghanistan
AL - Albania
DZ - Algeria
AS - American Samoa
AD - Andorra
AO - Angola
AI - Anguilla
AQ - Antarctica
AG - Antigua and Barbuda
AR - Argentina
AM - Armenia
AW - Aruba
AU - Australia
AT - Austria
AZ - Azerbaijan
BS - Bahamas
BH - Bahrain
BD - Bangladesh
BB - Barbados
BY - Belarus
BE - Belgium
BZ - Belize
BJ - Benin
BM - Bermuda
BT - Bhutan
BO - Bolivia
BA - Bosnia and Herzegovina
BW - Botswana
BV - Bouvet Island
BR - Brazil
IO - British Indian Ocean Territory
VG - British Virgin Islands
BN - Brunei
BG - Bulgaria
BF - Burkina Faso
BI - Burundi
KH - Cambodia
CM - Cameroon
CA - Canada
CV - Cape Verde
KY - Cayman Islands
CF - Central African Republic
TD - Chad
CL - Chile
CN - China
CX - Christmas Island
CC - Cocos [Keeling] Islands
CO - Colombia
KM - Comoros
CG - Congo - Brazzaville
CD - Congo - Kinshasa
CK - Cook Islands
CR - Costa Rica
HR - Croatia
CU - Cuba
CY - Cyprus
CZ - Czech Republic
CI - Côte d’Ivoire
DK - Denmark
DJ - Djibouti
DM - Dominica
DO - Dominican Republic
EC - Ecuador
EG - Egypt
SV - El Salvador
GQ - Equatorial Guinea
ER - Eritrea
EE - Estonia
ET - Ethiopia
FK - Falkland Islands
FO - Faroe Islands
FJ - Fiji
FI - Finland
FR - France
GF - French Guiana
PF - French Polynesia
TF - French Southern Territories
GA - Gabon
GM - Gambia
GE - Georgia
DE - Germany
GH - Ghana
GI - Gibraltar
GR - Greece
GL - Greenland
GD - Grenada
GP - Guadeloupe
GU - Guam
GT - Guatemala
GG - Guernsey
GN - Guinea
GW - Guinea-Bissau
GY - Guyana
HT - Haiti
HM - Heard Island and McDonald Islands
HN - Honduras
HK - Hong Kong SAR China
HU - Hungary
IS - Iceland
IN - India
ID - Indonesia
IR - Iran
IQ - Iraq
IE - Ireland
IM - Isle of Man
IL - Israel
IT - Italy
JM - Jamaica
JP - Japan
JE - Jersey
JO - Jordan
KZ - Kazakhstan
KE - Kenya
KI - Kiribati
KW - Kuwait
KG - Kyrgyzstan
LA - Laos
LV - Latvia
LB - Lebanon
LS - Lesotho
LR - Liberia
LY - Libya
LI - Liechtenstein
LT - Lithuania
LU - Luxembourg
MO - Macau SAR China
MK - Macedonia
MG - Madagascar
MW - Malawi
MY - Malaysia
MV - Maldives
ML - Mali
MT - Malta
MH - Marshall Islands
MQ - Martinique
MR - Mauritania
MU - Mauritius
YT - Mayotte
MX - Mexico
FM - Micronesia
MD - Moldova
MC - Monaco
MN - Mongolia
ME - Montenegro
MS - Montserrat
MA - Morocco
MZ - Mozambique
MM - Myanmar [Burma]
NA - Namibia
NR - Nauru
NP - Nepal
NL - Netherlands
AN - Netherlands Antilles
NC - New Caledonia
NZ - New Zealand
NI - Nicaragua
NE - Niger
NG - Nigeria
NU - Niue
NF - Norfolk Island
KP - North Korea
MP - Northern Mariana Islands
NO - Norway
OM - Oman
PK - Pakistan
PW - Palau
PS - Palestinian Territories
PA - Panama
PG - Papua New Guinea
PY - Paraguay
PE - Peru
PH - Philippines
PN - Pitcairn Islands
PL - Poland
PT - Portugal
PR - Puerto Rico
QA - Qatar
RO - Romania
RU - Russia
RW - Rwanda
RE - Réunion
BL - Saint Barthélemy
SH - Saint Helena
KN - Saint Kitts and Nevis
LC - Saint Lucia
MF - Saint Martin
PM - Saint Pierre and Miquelon
VC - Saint Vincent and the Grenadines
WS - Samoa
SM - San Marino
SA - Saudi Arabia
SN - Senegal
RS - Serbia
SC - Seychelles
SL - Sierra Leone
SG - Singapore
SK - Slovakia
SI - Slovenia
SB - Solomon Islands
SO - Somalia
ZA - South Africa
GS - South Georgia and the South Sandwich Islands
KR - South Korea
ES - Spain
LK - Sri Lanka
SD - Sudan
SR - Suriname
SJ - Svalbard and Jan Mayen
SZ - Swaziland
SE - Sweden
CH - Switzerland
SY - Syria
ST - São Tomé and Príncipe
TW - Taiwan
TJ - Tajikistan
TZ - Tanzania
TH - Thailand
TL - Timor-Leste
TG - Togo
TK - Tokelau
TO - Tonga
TT - Trinidad and Tobago
TN - Tunisia
TR - Turkey
TM - Turkmenistan
TC - Turks and Caicos Islands
TV - Tuvalu
UM - U.S. Minor Outlying Islands
VI - U.S. Virgin Islands
UG - Uganda
UA - Ukraine
AE - United Arab Emirates
GB - United Kingdom
US - United States
UY - Uruguay
UZ - Uzbekistan
VU - Vanuatu
VA - Vatican City
VE - Venezuela
VN - Vietnam
WF - Wallis and Futuna
EH - Western Sahara
YE - Yemen
ZM - Zambia
ZW - Zimbabwe
AX - Åland Islands
2 and 3 letter relation

Maybe the 2 letters code is not working for you.

Here you have the 3 letter code:
AA - AAA
AD - AND
AE - ARE
AF - AFG
AG - ATG
AI - AIA
AL - ALB
AM - ARM
AN - ANT
AO - AGO
AQ - ATA
AR - ARG
AS - ASM
AT - AUT
AU - AUS
AW - ABW
AX - ALA
AZ - AZE
BA - BIH
BB - BRB
BD - BGD
BE - BEL
BF - BFA
BG - BGR
BH - BHR
BI - BDI
BJ - BEN
BL - BLM
BM - BMU
BN - BRN
BO - BOL
BR - BRA
BS - BHS
BT - BTN
BU - BUR
BV - BVT
BW - BWA
BY - BLR
BZ - BLZ
CA - CAN
CC - CCK
CD - COD
CF - CAF
CG - COG
CH - CHE
CI - CIV
CK - COK
CL - CHL
CM - CMR
CN - CHN
CO - COL
CR - CRI
CS - SCG
CU - CUB
CV - CPV
CX - CXR
CY - CYP
CZ - CZE
DD - DDR
DE - DEU
DJ - DJI
DK - DNK
DM - DMA
DO - DOM
DZ - DZA
EC - ECU
EE - EST
EG - EGY
EH - ESH
ER - ERI
ES - ESP
ET - ETH
FI - FIN
FJ - FJI
FK - FLK
FM - FSM
FO - FRO
FR - FRA
FX - FXX
GA - GAB
GB - GBR
GD - GRD
GE - GEO
GF - GUF
GG - GGY
GH - GHA
GI - GIB
GL - GRL
GM - GMB
GN - GIN
GP - GLP
GQ - GNQ
GR - GRC
GS - SGS
GT - GTM
GU - GUM
GW - GNB
GY - GUY
HK - HKG
HM - HMD
HN - HND
HR - HRV
HT - HTI
HU - HUN
ID - IDN
IE - IRL
IL - ISR
IM - IMN
IN - IND
IO - IOT
IQ - IRQ
IR - IRN
IS - ISL
IT - ITA
JE - JEY
JM - JAM
JO - JOR
JP - JPN
KE - KEN
KG - KGZ
KH - KHM
KI - KIR
KM - COM
KN - KNA
KP - PRK
KR - KOR
KW - KWT
KY - CYM
KZ - KAZ
LA - LAO
LB - LBN
LC - LCA
LI - LIE
LK - LKA
LR - LBR
LS - LSO
LT - LTU
LU - LUX
LV - LVA
LY - LBY
MA - MAR
MC - MCO
MD - MDA
ME - MNE
MG - MDG
MF - MAF
MH - MHL
MK - MKD
ML - MLI
MM - MMR
MN - MNG
MO - MAC
MP - MNP
MQ - MTQ
MR - MRT
MS - MSR
MT - MLT
MU - MUS
MV - MDV
MW - MWI
MX - MEX
MY - MYS
MZ - MOZ
NA - NAM
NC - NCL
NE - NER
NF - NFK
NG - NGA
NI - NIC
NL - NLD
NO - NOR
NP - NPL
NR - NRU
NT - NTZ
NU - NIU
NZ - NZL
OM - OMN
PA - PAN
PE - PER
PF - PYF
PG - PNG
PH - PHL
PK - PAK
PL - POL
PM - SPM
PN - PCN
PR - PRI
PS - PSE
PT - PRT
PW - PLW
PY - PRY
QA - QAT
QM - QMM
QN - QNN
QO - QOO
QP - QPP
QQ - QQQ
QR - QRR
QS - QSS
QT - QTT
QU - QUU
QV - QVV
QW - QWW
QX - QXX
QY - QYY
QZ - QZZ
RE - REU
RO - ROU
RS - SRB
RU - RUS
RW - RWA
SA - SAU
SB - SLB
SC - SYC
SD - SDN
SE - SWE
SG - SGP
SH - SHN
SI - SVN
SJ - SJM
SK - SVK
SL - SLE
SM - SMR
SN - SEN
SO - SOM
SR - SUR
ST - STP
SU - SUN
SV - SLV
SY - SYR
SZ - SWZ
TC - TCA
TD - TCD
TF - ATF
TG - TGO
TH - THA
TJ - TJK
TK - TKL
TL - TLS
TM - TKM
TN - TUN
TO - TON
TP - TMP
TR - TUR
TT - TTO
TV - TUV
TW - TWN
TZ - TZA
UA - UKR
UG - UGA
UM - UMI
US - USA
UY - URY
UZ - UZB
VA - VAT
VC - VCT
VE - VEN
VG - VGB
VI - VIR
VN - VNM
VU - VUT
WF - WLF
WS - WSM
XA - XAA
XB - XBB
XC - XCC
XD - XDD
XE - XEE
XF - XFF
XG - XGG
XH - XHH
XI - XII
XJ - XJJ
XK - XKK
XL - XLL
XM - XMM
XN - XNN
XO - XOO
XP - XPP
XQ - XQQ
XR - XRR
XS - XSS
XT - XTT
XU - XUU
XV - XVV
XW - XWW
XX - XXX
XY - XYY
XZ - XZZ
YD - YMD
YE - YEM
YT - MYT
YU - YUG
ZA - ZAF
ZM - ZMB
ZR - ZAR
ZW - ZWE
ZZ - ZZZ

No comments:

Post a Comment