Current Store Details (ID, Code, Name and Status) using magento

how to het Current Store Details (ID, Code, Name and Status) using magento.

In this post we will show you hot to get Current Store Details (ID, Code, Name and Status) using magento. we will get detail of ID, Code, Name and Status current store by following codein.

// Get details of current store 
$store_details = Mage::app()->getStore();
 
// Get details of current store id
$store_id = Mage::app()->getStore()->getStoreId();
 
// Get details of current store code
$store_code = Mage::app()->getStore()->getCode();
 
// Get details of current website id
$website_id = Mage::app()->getStore()->getWebsiteId();
 
// Get details of current store group id
$store_group_id = Mage::app()->getStore()->getGroupId();
 
// Get details of current store name
$store_name = Mage::app()->getStore()->getName();
 
// Get details of store sort order
$store_sort_order = Mage::app()->getStore()->getSortOrder();
 
// Get details of current store status
$store_is_active = Mage::app()->getStore()->getIsActive();
 
// Get details of current store locale
$store_locale_code = Mage::app()->getStore()->getLocaleCode();
 
// Get details of current store home url
$store_home_url = Mage::app()->getStore()->getHomeUrl();
x