About Services Tools Blog Contact us

Storefront Search Filters

Links shop filters to product details, removes empty duplicates, and lets you switch off the counts beside filters when they slow the category page.

  • E-commerce Integrations
  • Footwear retail
  • Dashboard feature
  • Productised
  • Cloud
  • 2026

The problem

Filters were edited as each new range arrived, which left duplicate filters and empty options in the menu. Counts beside the filters helped shoppers but made the category page slow. Only a developer could turn the counts off.

What it does

Filters such as style and product type are built from details already stored on each product. A cleanup merges duplicates and hides options that return nothing. Counts can be prepared before the page is viewed, and a switch hides them with no page edit. A filter can be turned on for one category and left off the rest of the site.

Outcomes

  • Shoppers see one filter where two used to overlap.
  • Empty options no longer appear in the menu.
  • A category can carry a filter that the rest of the site does not.
  • Counts can be turned off with no code change.

Simplified mockup

Interactive preview with sample data. Nothing is sent to a server.

Trainers

Footwear / Trainers · 90 colourways

Counts on
Filters
Size
Colour

Counts are prepared for the whole category. They do not change when you pick a size.

Count switch

1.8 s

Counts are prepared, and this category still takes 1.8 s. Hide them when the menu needs to stay quick. No template edit.

Style is one facet. A duplicate Type facet was merged, and Extra wide is hidden.

Sample colourways

6 of 6 in the sample. Category counts stay as prepared.

StyleColourSizes in the samplePrice
Moor trail knit BlackUK 7, 8, 9£110
Moor trail knit OakUK 6, 8, 9, 10£110
Linden court trainer NavyUK 6, 7, 8£95
Linden court trainer BlackUK 7, 8, 9£95
Plover canvas trainer SandUK 6, 7£72
Plover canvas trainer NavyUK 8, 9, 10£72

Facet list

Cleanup
Ready
Style and Type both read the style attribute. Width still lists Extra wide, which matches nothing.
Before cleanup 1 duplicate 1 empty option
FacetAttributeScopeState
StylestyleAll footwearLive
TypestyleAll footwearDuplicate of Style
WidthwidthAll footwearExtra wide is empty
ColourcolourAll footwearLive
Sizesize_ukAll footwearLive
CushioningcushionTrainersOne category

Where a facet shows

FacetValuesScope
SizeUK 6 to 10All footwear
ColourBlack, navy, oak, sandAll footwear
WidthStandard, wideAll footwear
CushioningFirm 11, balanced 24, soft 9Trainers only

Cushioning is switched on for trainers. It does not appear on boots.

How it works

  1. List filters against the details stored on each product.
  2. Merge duplicate filters and hide any option that returns nothing.
  3. Turn a filter on for one category without showing it site-wide.
  4. Show a count beside each remaining value.
  5. Hide the counts with a switch when the category page needs to stay quick.

Pipeline

flowchart LR
  A["Attributes"] --> B["Facet list"]
  B --> C["Merge duplicates"]
  C --> D["Hide empty"]
  D --> E["Counts"]
  E --> F["Off switch"]