- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Magento. Display new products on the home page (block)
June 23, 2011
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
We recommend clear and disable the Magento cache when editing the static pages.