Just another WordPress.com weblog

Get Region name from RegionId

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 …..
-Vishal Surani

Advertisements

Comments on: "Get Region name from RegionId" (1)

  1. Thanks vishal..!!

    Its very helpful…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: