Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange
scroll top