Magento Question:

How to fetch bestsellers products programmatically?

Magento Interview Question
Magento Interview Question

Answer:

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


Previous QuestionNext Question
How to create magento custom module?What is Module conflict?