Magento – How to Hide Attribute Label in Layered Navigation

attributeslayered-navigation

see "shop by" on left side in above link.

there you can see 3 values….

1)black[remove]
2)white 1
3)white 3

I want to hide black [remove] option from layered navigation, i don't want to delete it.

please help me to find solutiion.

thanks in advance.

hide "one of the attribute label name" in layered navigation

Best Answer

You can remove some option directly in your theme template (dirty hack):

app\design\frontend\base\default\template\catalog\layer\filter.phtml

after line
<?php foreach ($this->getItems() as $_item): ?>

add line
<?php if($_item->getLabel() == 'black') continue; ?>

Related Topic