How to display new products on home page in Magento

January 15, 2013 by admin

How to display new products on home page in Magento

Go to “CMS – Manage Pages” and select “Home Page” from the list of pages.

Use this code snippet into your design page layout on your front page:

<reference name=”content”>
<block type=”catalog/product_new” name=”home.catalog.product.new” alias=”product_new” template=”catalog/product/new.phtml” after=”cms_page”>
<action method=”addPriceBlockType”><type>bundle</type><block>bundle/catalog_product_price</block>
<template>bundle/catalog/product/price.phtml</template></action></block>
</reference>

Note : You must have some new products in your catalogue for anything to show when you do this. In this context new doesn’t mean that you’ve recently added them; only products explicitly marked as new using ‘Set Product as New from Date’ and ‘Set Product as New to Date’ options in the ‘General’ product information page in the admin tool will be shown.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get in touch today and see how we can help your business start to grow.

Contact us