1.安装magento Luxe_Bestsellers。Key为magento-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