magento输出指定分类
2015-07-09 10:02
330 查看
magento 输出指定分类
phtml文件//:<reference name="content">
<block type="catalog/product_list" name="custom.category" template="custom/custom_category.phtml">
<action method="setCategoryId"><category_id>3</category_id></action>
</block>
</reference>
{{block type="catalog/product_list" category_id="28" products_count="9" template="custom/custom_category.phtml"}}
相关文章推荐
- redis 快速入门(win7)
- Spiral Matrix II
- 怎样把ppt转成有效的pdf格式
- 让input表单不显示历史记录
- jQuery检测某个元素是否存在代码分享
- POI之PPT-元素操纵
- [LeetCode][Java] Container With Most Water
- HTML中META属性详解
- 【中文分词】亲手开发一款中文分词器——源代码
- WSGI简介
- LeetCode Reverse Linked List
- hadoop编程入门学习笔记-1 安装运行hadoop
- 一分钟让你会用反射
- 两个经典的Oracle触发器示例 .
- jQuery ajax()使用serialize()提交form数据
- kissy几种图片滚动的方式
- 调用百度定位API接口例子
- C/C++中的日期和时间 time_t与struct tm变换
- ./configure,make,make install的作用
- com.sun.awt.AWTUtilities, Eclipse gives a error