Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top