How to get current store information in magento

Hello Friends, If you want to get the information of store, you can use the following code snippets:
// Get store data
echo "Get store data : ".Mage::app()->getStore();

//Store Id
echo "Store Id : ".Mage::app()->getStore()->getStoreId();

//Store code
echo "Store code : ".Mage::app()->getStore()->getCode();

//Website Id
echo "Website Id : ".Mage::app()->getStore()->getWebsiteId();

// Store Name
echo "Store Name : ".Mage::app()->getStore()->getName();

//Is Active
echo "Is Active : ". Mage::app()->getStore()->getIsActive();

//Store Home Url
echo "Store Home Url : ".Mage::app()->getStore()->getHomeUrl();

Thanks,
Pritesh Pritesh

Pritesh Pethani

Request a Quote!!

Share your concept and we will return to you within 24 hours. Let us work out the best software solution for you!

Let's Start
Whatspp