[Magento] How to remove the toolbar block

Create a file as blank.phtml at app-design-base-default-template-catalog-product-list

The code for the XML layout update. Simply post the following into the ‘Custom Layout XML Update’ field at  CMS-Home page-Design

 

<reference name=”content”>
<block type=”catalog/product_list” name=”home” template=”catalog/product/list.phtml”>
<action method=”setCategoryId”><category_id>21</category_id></action>
<action method=”addColumnCountLayoutDepend”><layout>one_column</layout><count>5</count></action>
<block type=”catalog/product_list_toolbar” name=”product_list_toolbar” template=”catalog/product/list/blank.phtml”>
<block type=”page/html_pager” name=”product_list_toolbar_pager”/>
</block>
<action method=”setToolbarBlockName”><name>product_list_toolbar</name><count>5</count></action>
</block>
</reference>

Leave a Reply