Glossary

What is faceted search?

DefinitionFaceted search lets shoppers narrow results with filters built from product attributes, such as size, colour, brand and price, with counts that update as they choose.

Faceted search explained

Faceted search is the panel of filters beside, or above, search results and category pages: size, colour, brand, price, material. Each filter is a facet, built from a product attribute, and each option usually shows how many products match. Choose “Waterproof: Yes” and the counts beside every other option change to show what’s left.

Facets and categories serve different purposes. Categories are used to organise your product range into different areas to browse. Facets are used to filter the products that the customer is currently viewing.

Most stores let shoppers tick more than one value in a facet (“Size: M or L”) and combine facets (“M or L, and under £150”). That sounds obvious, but getting it wrong is one of the quickest ways to frustrate people.

In Magento, facets come from layered navigation. An attribute appears as a filter when it’s set to “Use in Layered Navigation” in its storefront properties, and there’s a separate “Use in Search Results Layered Navigation” setting for search results.

Facets are only as good as the attribute data behind them. If one product says “Navy”, another “navy blue” and a third “Dark blue”, shoppers get three colour options that mean the same thing, and some products vanish when they pick one. Tidy, consistent values matter more than the number of filters.

On mobile, filters usually move into a full-screen panel. You will want to make sure your most used facets are at the top and that your results are updated as soon as a filter is applied.

Ottla

How faceted search relates to Ottla

If you switch it on in the Ottla Magento module, Ottla can show the whole search results or category listing, filters included. Your merchandising rules apply to it, so products you’ve boosted or pinned stay where you put them.

If Ottla is ever slow or unavailable, your customer is shown Magento’s own results instead.

  • Listings with filters, as a module switch
  • Falls back to Magento’s own listing

Questions

Faceted search questions

Short answers to what people ask next.

Should we use facets or categories?

Both. Categories are used to organise your range and facets are used to filter products.

Which filters should a category page show?

It depends on what you sell. If you sell clothing you will want to show size and colour. If you sell light bulbs you may want to show wattage and cap fitting. Turn off the filters nobody uses rather than showing 20 on every category page.

Why do some filters show odd or duplicate values?

Your data is probably inconsistent. You may have one product that says Navy and another that says Dark Blue. Make sure your data is clean in Magento and your facets will be too.

Try Ottla free for 14 days

14 days free, no card needed. Works with Magento Open Source and Adobe Commerce 2.4.6 to 2.4.9.