>> In the backend Go to
Go to Admin=>CMS->home page and put the following code in the layout update xml
<reference name="content">
<block type="catalog/layer_view" name="catalog.leftnav" before="-" template="catalog/layer/view.phtml"/>
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
<action method="setCategoryId">
<category_id>3</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="addColumnCountLayoutDepend">
<layout>two_columns_right</layout>
<count>4</count>
</action> <action method="setToolbarBlockName">
<name>product_list_toolbar</name>
</action>
</block>
<update handle="page_two_columns_right" />
</reference>
No comments:
Post a Comment