All about Magento E-commerce Store.......MagentoForum: Magento. Display new products on the home page (block)

Thursday, July 7, 2011

Magento. Display new products on the home page (block)

This tutorial will show you how to display new products on the home page in Magento using the Magento block.

  • Open Magento admin panel
  • Go to CMS>Pages>Home page
  • Switch to the content tab
  • Insert the following code:

 

 {{block  type="catalog/product_new" column_count="6"  products_count="12" name="home.catalog.product.new"  alias="product_homepage"  template="catalog/product/list.phtml"}} 

 

Where:

  • column_count="6" – number of the product columns
  • products_count="12" – number of the displayed products

No comments:

Post a Comment