This method allow you to add new products to a Magento CMS page or Block.
Go to “CMS >> Manage Pages” and select “Your Page” from the list of pages.
Go to “CMS >> Static Blocks” and select “Your Block” from the list of blocks.
Use this code snippet to show new products on your front page:
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}
To change the number of columns in the “New Products” view:
column_count=”6″
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" column_count="6" template="catalog/product/new.phtml"}}
To change the number of products in the “New Products” view:
products_count=”150″ or products_count=”0″ for display all of your newest products
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" products_count="150" template="catalog/product/new.phtml"}}
Add New Products to a Magento page using Layout XML
<block type="catalog/product_new" name="home.catalog.product.new" template="catalog/product/new.phtml">
Set the column count for “New Products” list
<action method="setColumnCount"><column_count>6</column_count></action>
Set the products count for “New Products” list
<action method="setProductsCount"><count>150</count></action>
Visit your Magento CMS page. You should see your new products.
Tags: Column count, Magento, New Products, Products count
Magento Support