get current website id
<?php echo
Mage::app()->getWebsite()->getId(); ?>get current website name
<?php echo
Mage::app()->getWebsite()->getName(); ?> <?php echo
Mage::app()->getStore()->getCode(); ?>get store code
<?php echo Mage::app()->getStore()->getId(); ?>
<?php echo Mage::app()->getStore()->getName(); ?>
<?php echo Mage::app()->getStore()->getGroup()->getName(); ?>
<?php echo Mage::app()->getWebsite()->getName(); ?>
No comments:
Post a Comment