How to Display Best Sellers dynamic specific category?

Go To StackoverFlow.com

0

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

2012-04-04 06:30
by Teju


1

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

$products = Mage::getResourceModel('reports/product_collection')
            ->addOrderedQty()
            ->addAttributeToSelect(array('name', 'price', 'small_image', 'short_description', 'description')) //edit to suit tastes
            ->setStoreId($storeId)
            ->addStoreFilter($storeId)
            ->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 1.6.2.0 ? Thnks Girish Anan - Teju 2012-04-05 05:11
Okay you can check with this extension (http://www.magentocommerce.com/magento-connect/bestseller-selected-on-category-id.html)... To show as list page you need to create module for that... you can add me on girish.anand85@gmail.com 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. http://www.proxiblue.com.au/magento-dynamic-category-products.htm - proxiblue 2014-10-06 05:28
Ads