Magento Question:

How to fetch bestsellers products programmatically?

Tweet Share WhatsApp

Answer:

1) <!--?php
2) Mage::getResourceModel('reports/product_collection')--->addOrderedQty()
3) ->addAttributeToSelect('*')->setPage(1, 5)->load();
4) ?>

Download Magento PDF Read All 38 Magento Questions
Previous QuestionNext Question
How to create magento custom module?What is Module conflict?