leen3o wrote:Thanks for replying. But this is not really ideal. We need the ability to hide an entire group? Or as the user adds more options we have to keep updating the the style sheet! Really not ideal. Especially if there are 100's of options...?
Problem is you add no kind of identifier around the "attributeFilterPanel7Spikes" container. So there is no way of hiding an individual panel/block? Any ideas? This is actually quite a big problem for a couple of stores we look after...
Hi leen3o,
You can easily add a class to the container i.e you can use the attribute name.
Open this file:
Plugins\SevenSpikes.Nop.Plugins.AjaxFilters\Views\AttributeFilter7Spikes\AttributeFilter.cshtmlFind this line below:
<div class="block filter-block attributeFilterPanel7Spikes">
Replace it with this line:
<div class="block filter-block attributeFilterPanel7Spikes @attributeFilterGroup.Name">
This way each attribute filter panel will have the name of the attribute as a class. Then you can choose which attribute to hide.
Alternatively instead of hiding it you can set max-height and have a scrollbar as explained
here.
Hope this helps!