Magento热销产品Luxe_Bestsellers使用教程
生活随笔
收集整理的這篇文章主要介紹了
Magento热销产品Luxe_Bestsellers使用教程
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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文件
原文地址:http://www.ahuasheng.com/magento-luxe-bestsellers-user-guide.html
總結
以上是生活随笔為你收集整理的Magento热销产品Luxe_Bestsellers使用教程的全部內容,希望文章能夠幫你解決所遇到的問題。