How to get store information in Magento?

前端 未结 8 1728
你的背包
你的背包 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:36

    In Magento 1.9.4.0 and maybe all versions in 1.x use:

    Mage::getStoreConfig('general/store_information/address');

    and the following params, it depends what you want to get:

    • general/store_information/name
    • general/store_information/phone
    • general/store_information/merchant_country
    • general/store_information/address
    • general/store_information/merchant_vat_number

提交回复
热议问题