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’]
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!
Hi..!! havea look this ..
http://www.hosting.com/support/wordpress/make-your-wordpress-blog-iphone-friendly
http://www.wpbeginner.com/wp-tutorials/11-ways-to-create-a-mobile-friendly-wordpress-site/
The most effective in getting the website ID in Magento is this:
Mage::app()->getStore(true)->getWebsite()->getId()
Mage::app()->getStore()->getWebsiteId() will just return 0
thanks for share