Articles on: Search & merchandising

Facets, filters and sorting

Filters narrow results. Facets show shoppers how many products match each value, such as brand, size or colour.

Facets

Request facets on a search or browse and Kelp returns counts per value in facetCounts. Common Shopify facets include vendor, productType, productCategory, tags and collections, plus option fields such as options.Size and options.Color.

Filters

  • Each filter has a field, an optional operator and values.
  • Operators: = (default), !=, >, >=, <, <= and range, which takes [min, max].
  • Separate filters combine with AND. Multiple values in one = filter combine with OR, for example red or blue.

Sorting

Sort on fields such as minPrice, createdAt, publishedAt, bestSeller or trending. Add a tie-breaker if you need one, for example trending first, then title.

Configure fields first

Any field used to filter, facet or sort must be configured on the collection. Requests that use an unconfigured field return a 400 error. Shopify metafields must also be enabled for sync in your Kelp tenant settings before they can be used.
Full field list: Catalog fields reference

Updated on: 04/12/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!