I want to get store name by using multiple store ids in magento. like:
<?php $store_ids= array(1,2,3);
Now how to get store names of these store ids.
I got the answer:
We can get storename through multiple store ids like this:
$store_ids= array(1,2,3);
foreach($store_ids as $storeId){
$store = Mage::getModel('core/store')->load($storeId);
$name = $store->getName();
}