Magento Question:
Download Questions PDF

How to fetch bestsellers products programmatically?

Answer:

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

Download Magento Interview Questions And Answers PDF

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