Magento 1.9 Local.xml – Remove ‘Shop by Price’ in Left Sidebar

local.xmlmagento-1.9

I am creating a theme based on the rwd theme. I want to remove the browse by price, but keep the browse by category.

I am using the following in my local.xml.

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

It removes the "price" filter from the sidebar, but it removes all other content on the page. First photo is before the xml change, second is after the xml is changed. Any suggestions??? before

After

Best Answer

Go to Catalog > Manage Attributes

Search for price

Then edit the attribute, and change the following

Use In Layered Navigation : No

Related Topic