echo Mage::app()->getStore().’
‘;

/*Store Id*/
echo Mage::app()->getStore()->getStoreId().’
‘;

echo Mage::app()->getStore()->getName().’
‘;
/*Store code*/

echo Mage::app()->getStore()->getCode().’
‘;

/*Website Id*/

echo Mage::app()->getStore()->getWebsiteId().’
‘;

/*Store Name*/

echo Mage::app()->getStore()->getName().’
‘;

//Is Active

echo Mage::app()->getStore()->getIsActive().’
‘;

//Store Home Url

echo Mage::app()->getStore()->getHomeUrl().’
‘;

 

[twitter-follow screen_name=’nirav1188’]

By admin

4 thoughts on “Get store id and website id in magento”
  1. Hiya! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My blog looks weird when browsing from my iphone 4. I’m
    trying to find a template or plugin that might be able to
    correct this issue. If you have any suggestions, please share.
    Many thanks!

Leave a Reply

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