Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 3 of 3
Remove Category option from Layered Navigation options list
 
jonas73
Sr. Member
 
Total Posts:  97
Joined:  2009-04-24
 

Non of the above works for me and even when i set to no anchor categories still show up. mage 1.3.24

Any help please!

 
Magento Community Magento Community
Magento Community
Magento Community
 
team_in_medias
Sr. Member
 
Avatar
Total Posts:  113
Joined:  2008-05-06
Aachen, Germany
 

<?php $this->unsetChild('category_filter'?>
<?php 
if($this->canShowBlock()): ?>
 
Magento Community Magento Community
Magento Community
Magento Community
 
shangrilrao
Jr. Member
 
Total Posts:  7
Joined:  2010-10-14
 

I found this technique gives me more control overall.  For instance, on some categories, I might want to display Price while on others I don’t.

 
Magento Community Magento Community
Magento Community
Magento Community
 
elitriona
Sr. Member
 
Total Posts:  106
Joined:  2008-10-23
 

Is there any way to do this using custom layout update XML?

Say I want to hide the browse by categories but just in one particular category. Could I do this by updating the custom XML somehow?

 
Magento Community Magento Community
Magento Community
Magento Community
 
panticz.de
Jr. Member
 
Total Posts:  19
Joined:  2009-01-16
Germany
 

HI, you can easyly remove categories from Shop by navigation by add this to your local.xml:

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

she a example here:
http://www.panticz.de/Magento-customized-Shop-by-Navigation

 
Magento Community Magento Community
Magento Community
Magento Community
 
elitriona
Sr. Member
 
Total Posts:  106
Joined:  2008-10-23
 
panticz.de - 18 November 2010 02:26 AM

HI, you can easyly remove categories from Shop by navigation by add this to your local.xml:

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

she a example here:
http://www.panticz.de/Magento-customized-Shop-by-Navigation

Thank you!!! That is exactly the solution I was hoping for! Perfectly simple smile

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 3 of 3