Thursday 6 October 2016

Getting base url of specific store view in Magento.

If you done with multistore then its some time require to get the store url. So you can simply use below code to achive it.
Mage::app()->getStore($storeId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);

No comments:

Post a Comment