0

I want the left navigation menu to display the categories and subcategories only for selected categories. I still want to display the layered navigation. I added the following to the "Custom Layout Update" but it hides the whole content of the columns

<remove name="left"/>

How do I hide just the category block? I also tried the following but no luck:

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

2 Answers 2

0

This can also be done through the admin.

Navigate to the category and under the custom design tab you should see Custom Layout Update. If you paste the XML in there it will also remove the block only for that category.

You may need to clear cache.

enter image description here

1
  • How can i Hide selected attributes for selected categories of products
    – zus
    Oct 28, 2017 at 6:25
0

In the end I had to create a custom design fallback because for my theme and brutally remove the div showing the categories in the left bar because none of the above solutions worked. The block name was correct though :( –

1
  • Could you explain briefly?
    – zus
    Sep 26, 2017 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.