Question

Good morning, I want to add a filter of attributes like this.Like this I should put the attribute in static block first or how i can make it possible. Your answer will be very helpful. Thanks.

Était-ce utile?

La solution

Magento already supports this out of the box.
It is called layered navigation. For category lists (where the categories are marked as "Is anchor" => 'Yes') and search results this happens automatically.
In order to have an attribute appear in the layered navigation, you need to mark it accordingly, by editing the attribute in the backend and setting the flag "Used in layered navigation" to "Yes".
but not all attribute types support this.

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top