Skip to content

Attribute configuration

Romain Ruaud edited this page Oct 17, 2016 · 8 revisions

Attribute configuration

Search Configuration

Each product attribute can be configured to be used in Search and/or Catalog Layered Navigation.

On the attribute edition page in Magento back-office (Store > Attributes > Product), following parameters can be modified on the Storefront Properties tab :

Attribute configuration

Parameter Default value Description
Use in Search No If the attribute is used for product search. Eg : Setting it to "Yes" for the "Color" attribute allows to obtain result when searching on "blue hoodie" or "red jacket".
Search Weight 1 The weight of this attribute in search.
Used in spellcheck No When set to "Yes", the engine will compute spellchecking (see Spellchecking) on this attribute values.
Used in autocomplete No When set to "Yes", the engine will search only on this attributes values when building autocomplete results.
This feature is not implemented yet and will be soon..
Display in autocomplete No When set to "Yes", values of this attributes will be shown in autocomplete results.
This feature is not implemented yet and will be soon.
Visible in Advanced Search No Actually has no effect since the advanced search is not implemented yet.

Faceting configuration

Each product attribute can also be configured when it is used as a facet in the search results and/or category view page.

On the attribute edition page in Magento back-office, following parameters can be modified :

Facet configuration

Parameter Default value Description
Use in Layered Navigation No Set this to "Filterable (with results)" to display this attribute as a search filter (facet) on the Catalog Navigation pages.
Use in Search Results Layered Navigation No Set this to "Yes" to display this attribute as a search filter (facet) on the Search Result pages.
Facet coverage rate 90 The minimum coverage rates of results by this attribute.
Example, if set to 90% on the "Brand" attribute, the facet will be displayed only if 90% of the products in the search results or category have a brand.
Facet max. size 10 The maximum number of values that will be displayed for this facet.
Facet sort order Result count This is how the facet values will be ordered.

  • Result count : Will order values according to their number of results (descending).
  • Admin sort : Values will be displayed as ordered in attribute's options values in Magento back-office.
  • Name : Values will be displayed alphabetically (ascending).
  • Relevance : Values are displayed by relevance.
Clone this wiki locally