Browsed by
Author: smartapp_blog

Magento How To Add New Product

Magento How To Add New Product

Magento how to add new product

Today we will discuss how to add new product.

There are three way to add new products list in magento.

First thing you can add new product block in phtml file, below is code.

<?php echo $this->getLayout()->createBlock(‘catalog/product_widget_new’)->setProductsCount(‘4’)->setDisplayType(‘all_products’)->setTemplate(‘catalog/product/widget/new/content/new_grid.phtml ‘)->toHtml();?>

You can add new products in cms page and cms block, bellow is code.

{{widget type=’catalog/product_widget_new’ display_type=’all_products’ products_count=’4′ template=’catalog/product/widget/new/content/new_grid.phtml’}}

you can also add neew products block in layout. For example- add new products block in home page.


<reference name=”content”>

<block type=”catalog/product_widget_new”┬ádisplay_type=”all_products” products_count=”4″ template=”catalog/product/widget/new/content/new_grid.phtml”/>