Filtering Based on Country

Rule Explanation

The country codes in Magento should conform to ISO3166 (aka ISO3) standards.

If you look in phpmyadmin at the table directory_country you will get the full list of ISO3 codes used.

Note: There are some anomalies within Magento and the ISO3 codes, in particular Romania is ROU according to ISO3 but ROM in Magento pre-1.4. Magento have fixed this for 1.4 onwards (and Enterprise), so be careful if upgrading.  There are a handful of codes like ROU.

Best Match Filtering

As the extension works based on the best match if it finds a set of rules that match for the country then it will stop searching. For this reason you can use * to indicate the Rest of World, so if it can’t match on the countries you have specified the * country is a catch-all.

Common Country Codes

  • USA, CAN, GBR, AUS
  • 27 Current European Member States – AUT,BEL,BGR,CYP,CZE,DNK,EST,FIN,FRA,DEU, GRC,HUN,IRL,ITA,LVA,LTU,LUX,MLT,NLD,POL, PRT,ROU,SVK,SVN,ESP,SWE,GBR

Configuration within CSV File

With all the paid extensions you can put multiple countries  on one line.

This feature is not supported in the free Matrixrates extension.

Examples where this is useful:

  • Specify rates for all of Europe in one set e.g. ITA, FRA, DEU …

Examples

Extension
ProductMatrix

0 votes

Leave a Reply

Featuring WPMU Bloglist Widget by YD WordPress Developer