Offer an attribute as a filter
A search filter lets visitors narrow the results down to one or more values of an attribute: a colour, a condition, a brand.
- Open the attribute’s form: Settings › Catalog › Listing attributes, then click the attribute. To create one, see Manage listing attributes.
- Choose the Checkbox, Dropdown or Short text Type. For the first two, enter their options.
- Set Use as filter to Yes.
- Check the Visibility: Everyone or Theme only.
- Click Save.
The attribute joins the filters of your storefront’s search results.
The filter and the visibility
- Everyone: the filter works, and the value also shows in the listing page’s attribute list.
- Theme only: the filter works, and the value stays out of the listing page’s attribute list. It shows where your theme uses it.
Filter on a short text
A Short text filter is built from what sellers typed: a brand, a model, a designer. Its values are not defined in advance, so the platform reads them from the listings.
When you save a Short text with Use as filter set to Yes, the listings are indexed again in the background, so visitors can filter on this value. It takes a few minutes. The form then shows the Manage the values link, under Use as filter.
The values are already grouped when they differ only by capitals, accents, spaces or punctuation: “Mango”, “MANGO” and “man go” are one filter value.
Group the near spellings
- In the attribute’s form, click Manage the values.
- The Near spellings to check card lists the values that look like one value typed in several ways (“Mangoo”, “Mango”), with their number of listings.
- Tick the spellings to group, choose the Name to keep, then click Group them. If they are distinct values, click These are different values: they will not be suggested together again.
The All values card lists every value, under the Name visitors see, with its Grouped spellings:
- to group values the suggestions missed, tick them, choose the one to Keep, then click Group the ticked values;
- click a name to rename it: enter the New name, then click Rename;
- Split makes a grouped spelling a value of its own again.
Grouping applies at once, and the listings themselves are not changed: visitors see a single filter value, under the name you kept.
What sellers are offered
When a seller fills in a Short text filter in their listing form, the field suggests the values already in use, under the names visitors see. The seller can still type a new value.
Search from the homepage
The search engine in the homepage banner can offer a Checkbox or Dropdown attribute with Use as filter set to Yes.
- In the menu, under , click , then Homepage.
- Open the Welcome block section. If it is hidden, switch on Show this section on the homepage.
- In Search engine, choose the attribute under Listing attributes. Empty, the banner shows no search form.
- Click Save, in the “Unsaved changes” bar that appears at the bottom of the screen.
What your users see
On the search results page, each attribute with Use as filter set to Yes offers its values: the visitor picks one or more to narrow the results down. A value grouped from several spellings finds the listings of all of them. How the filters look depends on your theme.
With an attribute chosen in the banner’s Search engine, the homepage’s search form offers it as a criterion.
Sellers see, in their listing form, the values already in use for each Short text filter.
Edge cases and limits
- Only admin visibility: the attribute stays out of the search filters, even with Use as filter set to Yes.
- Attribute linked to no category: it is not among the filters.
- Short text, many values: the filter offers the 100 values used by the most listings.
- Short text in the homepage’s search engine: it is not offered there; only Checkbox and Dropdown attributes are.
- Near spellings suggested: values shorter than 4 characters are never suggested together; group them from the All values card.