Magento如何获得活动商店名称

时间:2013-03-05 09:59:39

标签: magento

我需要知道如何获取活跃的Magento商店名称。我正在使用它但没有结果:

Mage::app()->getStore()->getIsActive()->getName();

1 个答案:

答案 0 :(得分:1)

        /*It displays the current store name*/
        echo Mage::app()->getStore()->getName();
相关问题