How to Display Latest Products on Home Page

You might have noticed when browsing our Magento extensions that we display the list of new products on our home page. In order to do this we are our using our Magento product sorting extension.

To create something similar on your site, all you need to do is follow these steps:

  1. Go to CMS -> Pages in your Magento backend
  2. Click on whichever CMS page is your homepage
  3. Click the Design tab to edit the design of the page
  4. Add the following XML to the design:

There are a few lines from this xml code that you can edit in order to better serve your needs:

You can specify to only show products within a certain category. To do that, you will want to uncomment this line. You can replace the category ID with any category ID from teh store

This is the number of products displayed in a row when viewed in grid mode. You can change the number to any number you want.

This is the most important line and is what will determine how the products are sorted. In this instance we are sorting by creation. As a result, newest products will display first. You can also sort by bestseller, popularity, revenue per view, revenue per order, featured, review count, and more. More information is in the user guide of the Magento product sorting extension.