Display Specific category product detail list – in Home page

Display Specific category product detail list – in Home page:

Normally in magento websites home page we will use some CMS page & static block (if required) to display the Banner, promotional banners list of best seller sliders, CMS static block & pages links. Some time, if you want to display a specific category product list in home ? yes we can show. Simple we need to follow some steps.

Step :1
Create Home page from cms section. Map that static page as a website home.
admin – CMS – Pages – Create Home page

Step : 2
After create & map the home page, go design tab, add below code
<reference name=”content”>
<block type=”catalog/product_list” name=”product_list” template=”catalog/product/list.phtml”>
<action method=”setCategoryId”><category_id>1</category_id></action>
<block type=”catalog/product_list_toolbar” name=”product_list_toolbar” template=”catalog/product/list/toolbar.phtml”>
<block type=”page/html_pager” name=”product_list_toolbar_pager”/>
</block>
<action method=”setToolbarBlockName”><name>product_list_toolbar</name></action>
</block>
</reference>

Step 3:
Cleare cache and check it.

————————————————————————————————————————————————————————–

Corner Of Blog:

Don’t use mobile while driving

————————————————————————————————————————————————————————–

Leave a Reply