magento 获取当前store的信息
来源:互联网 发布:常用国家域名 编辑:程序博客网 时间:2024/05/17 23:55
// Gets the current store's details
$store
= Mage::app()->getStore();
// Gets the current store's id
$storeId
= Mage::app()->getStore()->getStoreId();
// Gets the current store's code
$storeCode
= Mage::app()->getStore()->getCode();
// Gets the current website's id
$websiteId
= Mage::app()->getStore()->getWebsiteId();
// Gets the current store's group id
$storeGroupId
= Mage::app()->getStore()->getGroupId();
// Gets the current store's name
$storeName
= Mage::app()->getStore()->getName();
// Gets the current store's sort order
$storeSortOrder
= Mage::app()->getStore()->getSortOrder();
// Gets the current store's status
$storeIsActive
= Mage::app()->getStore()->getIsActive();
// Gets the current store's locale
$storeLocaleCode
= Mage::app()->getStore()->getLocaleCode();
// Gets the current store's home url
$storeHomeUrl
= Mage::app()->getStore()->getHomeUrl();
0 0
- magento 获取当前store的信息
- magento 获取当前页产品信息和目录信息
- Magento获取当前店铺信息(首页,类别,地址等)
- Magento 获取当前页面body的class
- Magento获取当前Collection的排序方式
- magento获取当前路径
- magento获取当前路径
- 获取App Store 信息
- 获取当前脚本的信息
- 获取当前的位置信息
- Magento 获取当前的URL/Magento中获取URL相关参数的方法
- Magento 获取当前分类名称
- Magento 如何在产品页获取当前产品的销量
- magento获取判断当前页或句柄handles的语法
- magento get current variable 获取当前的通用变量
- magento获取当前站点的所有产品分类列表
- magento模板 -- 在magento中如何才能获取当前的主题的URL
- app store 获取app信息
- SAE邮件服务saemail
- socialExperience
- VMware或VirtualBox能ping通主机但不能上网解决
- leetcode-Same Tree
- shiny server安装 配置 管理
- magento 获取当前store的信息
- 第一章----绪论(笔记)
- 【视频】javascript16-17 列表收起弹出和使用DOM创建表格
- 笔试准备之——C经典算法18例之二
- 输入一个链表,从尾到头打印链表每个节点的值。
- C语言位运算详解
- opencv2.4 sift算法的使用
- Fragment用法以及接口的复习
- Linux R 安装