Magento – Max number of items per filter in layered navigation

filterlayered-navigation

I would like to have a maximum number of items, say 10, per filter in layered navigation with a More… link that would then load all of the items for that filter.
This would be really useful for the brands filter as there are a lot of them.

Any info/tutorials would be greatly appreciated!

Best Answer

The layered nav options are displayed using the template app/design/frontend/{package}/{theme}/template/catalog/layer/filter.phtml.
If you want you can add your logic in there.
But I don't recommend this approach. Doing it like this 10 of your brands (or other filter) will always get more visibility than the rest of them. I'm no SEO specialist but I think that having hidden links will affect your page rank (Can someone confirm or bust this?).

I suggest having a max-height on each filter type with an overflow scroll.

Related Topic