Magento热销产品Luxe_Bestsellers使用教程

1.安装magento Luxe_BestsellersKeymagento-community/Luxe_Bestsellers

 

2.相关配置默认在后台System>Configuration>Catalog>Bestsellers中。可以设置显示数量、统计时间、显示方式(网格,列表)。

 

3.在CMS(首页等)中添加如下代码,查看对应的cms页面

{{block type="bestsellers/list" name="home.bestsellers.list" alias="product_homepage" template="catalog/product/list.phtml"}}

 

4.如果需要加在侧栏,则增加如下代码在对应的layout.xml文件当中

<block type="bestsellers/list" name="bestsellers" alias="bestsellers" template="catalog/product/list.phtml" display_mode="list" time_limit_in_days="7" limit="2"/>


5.如果需要单独定义某些页面,可以在后台的栏目布局Custom Design中添加如下代码,该配置需要参考layout文件

<block type="bestsellers/list" name="bestsellers" alias="bestsellers" template="catalog/product/list.phtml" display_mode="list" time_limit_in_days="7" limit="2"/>


原文地址:http://www.ahuasheng.com/magento-luxe-bestsellers-user-guide.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值