Posted By

JustMadMike on 07/07/11


zend magento

Versions (?)

Add New Country to Magento

 / Published in: PHP

  1. Open lib/zend/locale/data/en.xml

  2. Locate territories tag in this file

  3. copy one of territory tags for the syntax and paste it within the territories tag

  4. hard part here is to add country code in this file as might not be able to find a unique one, so it's upto you.

  5. Save this file

  6. Open table name directory_country

  7. It has predefined syntax follow then same and create a new row and enter the same country code as entered in the en.xml file in 3 columns.

  8. Refresh the site's cache.

  9. Admin > Configuration > General this new country should be selected in list of allowed countries.

New country should be visible now.

  1. :)

Report this snippet  

You need to login to post a comment.