Magento: Display More Than 5 New Products

August 27th, 2012 by Laeeq | 1 comment

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.

You can subscribe to PHPZAG.COM posts by Email

 

Related Topics:

 

 

  1. coltoncookcl
    October 3rd, 2012 at 11:19 | #1

    Some truly prime articles on this site, bookmarked .

  1. No trackbacks yet.