Get Region name from RegionId

1
43
views
Advertisement

Hi all
if you wish to find region from region_id
Here is the code

$regionModel = Mage::getModel(‘directory/region’)->load(‘region_id’);
$region = $regionModel->getName();

$region is region name …..

Thanks …..
-Mayank Zalavadia

Previous articleformat price decimal
Next articleGet Country from Country Code
I am Magento Certified Developer Plus and I enjoy building new code as much as I loves nature.
SHARE