Get Country from Country Code

3
14
views
Advertisement

Hi All
If you have to find Country from CountryCode
Here is the code for you…

$countryModel = Mage::getModel(‘directory/country’)->loadByCode(‘country_code’);

$countryName = $countryModel->getName();

I hope this will help you
Thanks ..
-Mayank Zalavadia

3 COMMENTS