How to Display Best Sellers dynamic specific category?

Go To


how to display Best sellers dynmaic and specific category in magento ?

2012-04-04 06:30
by Teju


To display Bestseller you can load the collection of products from resource model reports like below

$products = Mage::getResourceModel('reports/product_collection')
            ->addAttributeToSelect(array('name', 'price', 'small_image', 'short_description', 'description')) //edit to suit tastes
            ->setOrder('ordered_qty', 'desc'); //best sellers on top

and to load them category wise you can get the current category or pass it harcoded. and just you need to filter the product in that category.

2012-04-04 19:32
by Girish Anand
I am Magento Begnner.I want to display the Best Seller for Specific Category in List Page In Magento ? Thnks Girish Anan - Teju 2012-04-05 05:11
Okay you can check with this extension ( To show as list page you need to create module for that... you can add me on i will help u ther - Girish Anand 2012-04-07 08:33
Thanks Girish Anan - Teju 2012-04-09 05:09
Thanks Girish Anan - Teju 2012-04-09 05:12
Hi.i have use silder in magento, in all browser runnig silder but ie8 has not working silder. i have use the noconflict in scrpit. plz help m - Teju 2012-04-24 15:08
I already sent you the code in your mail box... let me know if its working or not... - Girish Anand 2012-04-25 12:58
Old post, but things move on, and stuff gets better with time. So to help others finding this post, I'd like to mention one of my extensions, which allows creation of Best Sellers (and much much more) dynamic categories. It is aptly named: Magento Dynamic category Products. - proxiblue 2014-10-06 05:28