Magento Best Selling or Top Selling Product

Here, we have written article about How to display Magento Best Selling or Top Selling Product. To show Best selling or Top selling Product at Home page, you need to follow below process. You can display in sidebar or anywhere in product detail page by calling block. But here, we have put block Best products on home page. So you can get the idea.

For that follow the following steps:

First of all, create a Bestseller . php file and put it here :

app/code/local/Mage/Catalog/Block/Product/Bestseller.php

Create bestseller.phtml file and put it here :

app/design/frontend/yourtheme/template/catalog/product/bestseller.phtml

Now put this line where you want to view best selling products.

You can use through block or through XML also