How to get store information in Magento?

前端 未结 8 1727
你的背包
你的背包 2020-12-12 10:36

In Magento, how can I get active store information, like store name, line number, etc?

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 11:17

    Great answers here. If you're looking for the default view "Store Name" set in the Magento configuration:

    Mage::app()->getStore()->getFrontendName()
    

提交回复
热议问题