Magento: 通过category name获取category信息
来源:互联网 发布:最新聊天软件排行 编辑:程序博客网 时间:2024/06/05 01:53
$cat = Mage::getResourceModel('catalog/category_collection')->addFieldToFilter('name', 'Category_Name_Here');print_r($cat->getData());To get the category id from $cat object, simply use:
$cat->getFirstItem()->getEntityId();
- Magento: 通过category name获取category信息
- Magento: 通过category name获取category信息
- Magento: 通过category name获取category信息
- Magento: Get category name
- magento获取 category
- Magento: Adding category attributes
- Magento根据产品(Product)获取类别(Category)名字及URL
- Magento根据产品(Product)获取类别(Category)名字及URL
- Category
- Category
- Category
- category
- <category>
- category
- category
- @Category
- Category
- Category
- android下为自己定义wifimanager类
- Zend Studio 8 如何修改为UTF-8编码
- snprintf()使用Warn提示:warning: format not a string literal and no format arguments
- eclipse导入existing 文件时候乱码问题
- 字符指针变量和字符数组的区别
- Magento: 通过category name获取category信息
- xml基础知识
- iOS与Java服务器GZip压缩问题
- mysql delete和truncate区别
- XML
- 串口大师提示找不到串口的解决办法,增加注册表项目。
- qt4.3.2编译vs2005下编译过程(自己学习下)
- 用于验证的公共类
- java synchronized详解