Magento Themes and Magento Extensions

how to show particular category product wirh paging in cms page in magento

Share

how to show particular category product wirh paging in cms page in magento

<reference name=”content”>
<block type=”catalog/product_list” name=”product_list” template=”catalog/product/list.phtml”>
<action method=”setCategoryId”><category_id>35</category_id></action>
<action method=”setColumnCount”><columns>5</columns></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>empty</layout><count>6</count></action>
<action method=”addColumnCountLayoutDepend”><layout>one_column</layout><count>5</count></action>
<action method=”addColumnCountLayoutDepend”><layout>two_columns_left</layout><count>4</count></action>
<action method=”addColumnCountLayoutDepend”><layout>two_columns_right</layout><count>4</count></action>
<action method=”addColumnCountLayoutDepend”><layout>three_columns</layout><count>3</count></action>
<action method=”setToolbarBlockName”><name>product_list_toolbar</name></action>
</block>
</reference>

Comments are closed.