Ideas

Give us your best ideas!

Support for Dynamic Multi-Select Facet Counts in Storefront API

Problem Statement: Currently, implementing a standard e-commerce "drill-down" navigation is difficult because the Storefront API doesn't natively support facet counting for distinct facets based on the selected filters. When a user selects a filter (e.g., Brand: Apple), the counts for other brands stays the same even though when selecting another brand results in 0 matches. This makes it hard for a user that selects multiple filters to know if a filter will result in 0 matches, which leads to frustration over the search functionality.

Proposed Functionality: I would like to propose a option if the facets should update their individual count when searching to better inform the user if the filter will result in 0 matches. Or just include a different property for each distinct facet item to "preview" the result if that filter is applied.

  • Main Results: Filtered by all selected facets.

  • Facet Aggregations: Each facet's count should be calculated by applying all selected filters.

  • Christian Norrman
  • Apr 23 2026
  • Rejected
  • Attach files
  • Christian Norrman commented
    18 May 15:40

    This already seems to exist in the accelerator.