sbourhim
sbourhim

Reputation: 11

How to remove magento's categories sidebar navigation?

I want to remove the category listing in the category view from my magento site. I got the top menu and the sidebar one is redundant.

Upvotes: 1

Views: 6035

Answers (1)

Ravi Patel
Ravi Patel

Reputation: 5211

This was dispaly in left sidebar using this code

<reference name="left">
 <block type="catalog/navigation" name="catalog.leftnav" template="catalog/navigation/left_nav.phtml" />
</reference>

So remove using local.xml

<default>
    <reference name="left">
          <remove name="catalog.leftnav">
    </reference>
</default>

Or then add catalog/layer_view block where you want to, but change the name

<block type="catalog/layer_view" name="yourname.catalog.leftnav" template="catalog/layer/view.phtml"/>

Upvotes: 1

Related Questions