get current store details magento

Get store data : Mage::app()->getStore();

Status  : Mage::app()->getStore()->getIsActive();

Store Home Url : Mage::app()->getStore()->getHomeUrl();

Store Id : Mage::app()->getStore()->getStoreId();

Store code : Mage::app()->getStore()->getCode();

Website Id : Mage::app()->getStore()->getWebsiteId();

Store Name : Mage::app()->getStore()->getName();

Leave a Reply

Your email address will not be published. Required fields are marked *