Magento Themes and Magento Extensions

Magento: Display More Than 5 New Products

Share

Sometimes we have to display more new products than default number. The default count of new products in Magento is fixed only 5. But you can display more than 5 new products without modifying Magento core files. You can use below code for setting new product count according to your requirement.

  1. {{block type=“catalog/product_new” name=“home.catalog.product.new”
  2. alias=“product_homepage” template=“catalog/product/new.phtml”
  3. _productsCount=“20″}}

The “_productsCount” determine how many new products will be displayed. Here I have set 20 product but you can change this according to your requirement.

Leave a Reply

You must be logged in to post a comment.