cancel
Showing results for 
Search instead for 
Did you mean: 

Categories on sidebar

Categories on sidebar

Hi there,

 

I am using magento 1.9.0.1 and would like to disable categories on left sidebar. I do not have an XML-file in template path, I searched on internet and see, that is to fix with XML.

 

What are the solutions?

Regards,

5 REPLIES 5

Re: Categories on sidebar

In your local.xml you can do the following;

 

<reference name="catalog.leftnav">
   <action method="unsetChild"><child>category_filter</child></action>
</reference>

Problem solved? Click Accept as Solution!
www.iwebsolutions.co.uk | Magento Small Business Partner

Re: Categories on sidebar

Hi, thanks.

 

Where to find local.xml ?

Re: Categories on sidebar

You may or may not have one in app/design/frontend/<package>/<theme>/layout/

 

There are several ways you can do it though. You could copy the catalog.xml file from base in to your theme and make the changes in there but i do not like that method.

Problem solved? Click Accept as Solution!
www.iwebsolutions.co.uk | Magento Small Business Partner

Re: Categories on sidebar

Thanks, which method do you like?

Re: Categories on sidebar

Using local.xml or a custom layout file is always best for upgradeability.

 

Problem solved? Click Accept as Solution!
www.iwebsolutions.co.uk | Magento Small Business Partner