Magento – Or Browse By Category Menu (Layered Navigation) remove

Picture

If you have the desire, in the navigation bar “Browse By” Function is to remove it here is a quick way.

Reason for the removal can e.g.. be, that there is only one or two items and, therefore, a navigation filter is not really useful.

Take this from the catalog.xml own template directory app / design / frontend /[base or default]/[IhrTemplate]/layout.

Sleeps ca. in row 77 the range

<catalog_category_default translate=”label”>
<label>Catalog Category (Non-Anchor)</label>
<reference name=”left”>
<block type=”catalog / navigation” name =”catalog.leftnav” before=”-” template =”catalog/navigation/left.phtml”/>
</reference>

search. There, the line

<block type=”catalog / navigation” name =”catalog.leftnav” before=”-” template =”catalog/navigation/left.phtml”/>

comment out or delete:

<!–<block type=”catalog / navigation” name =”catalog.leftnav” before=”-” template =”catalog/navigation/left.phtml”/>–>

This step is then also about. in line 116 repeat:

<block type=”catalog/layer_view” name =”catalog.leftnav” before=”-” template =”catalog/layer/view.phtml”/>

Then clear the cache and you should be gone navigation.

Partially (I nach Template) reichts it also “Is Anchor” from one category to “No” to set. Works but not always.

Used in Magento Version 1.5.1.0 Comments? Additions? Notes? Gladly!

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *