Get ship/billing country name from country id magento


<?php 


$countryId = 'SG';                               
echo $countryName = Mage::getModel('directory/country')->load($countryId )->getName(); 

 // output Singapore

 ?>

No comments:

Post a Comment