How to Remove Product List Toolbar from Specific Catalog Page

catalogcategorylayoutmagento-1.9

How do can you remove the product_list_toolbar from a specific category page??

I've tried adding the below to the Custom Layout Update of the the category in Catalog -> Manage Categories under the Custom Design tab from the Magento Admin Panel.

<reference name="product_list">
  <remove name="product_list_toolbar" /> 
</reference>

enter image description here

Best Answer

Unfortunately, removing the toolbar with something like <remove name="product_list_toolbar" /> does not work (see e.g. this question).

You can do it like that:

  1. Create an empty template under app/design/frontend/package/theme/template/blank.phtml
  2. Set the empty template for the toolbar block:

In your local.xml for a specific category with the ID 5:

<CATEGORY_5>
    <reference name="product_list_toolbar">
        <action method="setTemplate">
            <template>blank.phtml</template>
        </action>
    </reference>
</CATEGORY_5>

Or directly in the custom layout update text field in the admin:

<reference name="product_list_toolbar">
    <action method="setTemplate">
        <template>blank.phtml</template>
    </action>
</reference>
Related Topic