Collection pages and filters · Article 6 of 6

Filter design on desktop and phones

Show the number of matching products next to each option, use checkboxes, shorten long option lists and make them searchable on phones, and put the most-used filters first. Be careful with horizontal filter bars. On phones, make Filter and Sort obvious buttons and keep a sticky "Show results" button in the filter drawer. Make it all work by keyboard and screen reader.

In this article · 7 tips
  1. Filters people can actually use
  2. 1Tell shoppers how many products each filter option will show
  3. 2Let shoppers tick filter options, with a clear on/off state
  4. 3Shorten long option lists, sort them sensibly, and make them searchable on phones
  5. 4Put the most-used filters where shoppers see them first
  6. 5Be careful with horizontal filter bars
  7. 6On phones, make Filter and Sort obvious buttons, with a sticky "Show results" button
  8. 7Make filters and product cards work with a keyboard and screen reader
  9. FAQ

In short

  • Counts next to filter options prevent dead ends.
  • On phones, filtering is often the main way through big collections. It needs its own design.
  • A sticky "Show 42 results" button tells shoppers what they'll get before they leave the drawer.

Filters people can actually use

Good filters can still fail if shoppers don't see them, can't scan the options, or lose track on a phone. This article covers the interface on both desktop and phones.

1Tell shoppers how many products each filter option will show

Show how many products each filter option will return, so shoppers never land on zero results.

All stores

✕ Avoid

9:41

Color−

Navy
Black
Olive
Red

Tapped Olive in size 9: No products found

No counts. Shoppers tap Olive and get an empty page.

✓ Do this

9:41

Color−

Navy12
Black20
Olive0
Red3

Olive has no boots in size 9

A count next to every option, and zero-result options marked. No dead ends.

Why it matters

Without counts, shoppers pick a filter and get nothing back. Counts show what each option will give before it's chosen.

How to do it

  • Show the count next to each option: "Navy (12)".
  • Update counts as other filters are applied.
  • Hide or disable options with zero matches.

On ShopifyBuilt in

Shopify themes show counts next to filter values.

Quick test: Does every filter option show how many products match?

2Let shoppers tick filter options, with a clear on/off state

Use checkboxes for filter options, with an obvious on and off state.

All stores

✕ Avoid

9:41

Navy

Black

Olive

Which ones are on? Black is bold… maybe?

Plain text links. Shoppers can't tell what's selected, or that more than one can be.

✓ Do this

9:41

Color−

Navy12
Black20
Olive6
Ticked boxes for selected options. It's clear what's on and that several can be.

Why it matters

Links or plain text for options don't show that several can be picked, or which ones are on. Checkboxes do both.

How to do it

  • Use checkboxes for multi-select options; color swatches for colors are fine with a clear selected state.
  • Make the whole row clickable.

On ShopifyBuilt in

Shopify themes use checkboxes; color filters can show as swatches in Search & Discovery.

Quick test: Do filter options use checkboxes with clear selected states?

3Shorten long option lists, sort them sensibly, and make them searchable on phones

Show the first few options of a long list, sort them sensibly, and add a search box for big ones.

Big catalogs

✕ Avoid

9:41

Brand−

Alto
Arc
Basecamp
Bolt
Cedar
Crest
Delta
Echo
Fable
Field
Grove
Harbor
Ion
Every one of 42 brands listed in full. Filters below are pushed off the screen.

✓ Do this

9:41
Search brands

Brand−

Northfield22
Alto18
Harbor9
Crest7

Size+

Most popular first, a "Show all" link and a search field. The next filters stay in view.

Why it matters

A brand filter with 80 options pushes every other filter off the screen. A long list in random order is impossible to scan.

How to do it

  • Show the first few options and a "Show all" link.
  • Sort long lists alphabetically (brands) or logically (sizes small to large).
  • Add a search box to long lists, especially on phones.

On ShopifyTheme setting

Some themes collapse long filter lists; the order of values is set in the Search & Discovery app.

Quick test: Are long filter lists shortened, sorted sensibly and searchable?

4Put the most-used filters where shoppers see them first

Put the filters shoppers use most at the top, open. Rarely used ones go lower, closed.

All stores

✕ Avoid

9:41

Collar+

Pattern+

Material+

Sleeve+

Size+

Size is fifth

Size, the filter almost everyone needs, is fifth in the list and closed.

✓ Do this

9:41

Size−

S18
M26
L24

Color+

Price+

Fit+

Size first and open, then color and price. The less-used ones follow.

Why it matters

Shoppers use a few filters most of the time. When those are buried below rarely used ones, they're missed.

How to do it

  • Order filters by usage: the deciding attributes first.
  • Open the top one or two filters by default on desktop; collapse the rest.
  • Consider showing the most important filter as buttons above the grid.

On ShopifyBuilt in

Reorder filters in the Search & Discovery app.

Quick test: Are the most-used filters first and open by default?

5Be careful with horizontal filter bars

A row of filter dropdowns across the top works for a few filters. With many, use a sidebar.

All stores

✕ Avoid

Size▾
Color▾
Price▾
Fit▾
More▾

Size−

S18
M26
L24
XL12

Each dropdown covers the products

Many dropdowns in a bar. Each one covers the products, and "More" hides half the filters.

✓ Do this

Size−

M26

Color−

Navy12

Price+

Linen shirt

$68

Oxford

$72

Denim

$85

A sidebar shows every filter at once, and products update right beside it.

Why it matters

Filters in a bar across the top save space, but dropdowns there hide options, overlap the products, and fit only a few filters. Shoppers with many filters to set find them awkward.

How to do it

  • Use a sidebar on desktop when there are many filters.
  • If you use a horizontal bar, keep it to a few filters, show selected values on the buttons, and make dropdowns easy to close.

On ShopifyTheme setting

Shopify themes offer vertical (sidebar), horizontal and drawer filter layouts.

Quick test: Does the filter layout suit the number of filters you have?

6On phones, make Filter and Sort obvious buttons, with a sticky "Show results" button

On phones, make Filter and Sort clear buttons, and keep a "Show results" button visible inside the filter panel.

Phones

✕ Avoid

9:41

Boots

48 products

Refine ›

Ridge boot

★★★★★ 4.7 (212)

$189

Summit boot

★★★★★ 4.5 (96)

$210

Inside: apply is at the very bottom, after 9 filters

A small "Refine" link, and inside the panel the apply button is at the very end.

✓ Do this

9:41
Filter (2)Sort

Size−

930

Waterproof−

Yes18

Color+

Show 12 results
Big Filter and Sort buttons, and a sticky "Show 12 results" with the live count.

Why it matters

On phones, filters live behind a button. If it's a small icon, shoppers miss it. Inside the drawer, they need to know how many results they'll get and how to get back.

How to do it

  • Show "Filter" and "Sort" as clear, labeled buttons above the grid, and keep them reachable as shoppers scroll.
  • In the filter drawer, keep a sticky button at the bottom that says how many results it will show ("Show 42 products").
  • Update that count live as options are picked.
  • Show active filter counts on the Filter button.

On ShopifyTheme setting

Shopify themes show a filter drawer on phones; check the button labels, the sticky apply button and the count.

Quick test: On phones, are Filter and Sort obvious, with a sticky button showing the result count?

7Make filters and product cards work with a keyboard and screen reader

Filters must work with a keyboard and a screen reader, with a visible focus and announced states.

All stores

✕ Avoid

Size−

821
930

Color−

Navy12

Tab… where is the focus?

Ridge boot

★★★★★ 4.7 (212)

$189

Summit boot

★★★★★ 4.5 (96)

$210

Chelsea boot

★★★★★ 4.8 (340)

$165

No visible focus, and filters built from plain divs. Keyboard and screen reader users can't filter at all.

✓ Do this

Size−

821
930

Color−

Navy12

Read aloud: "Size, 1 selected, expanded"

Ridge boot

★★★★★ 4.7 (212)

$189

Summit boot

★★★★★ 4.5 (96)

$210

Chelsea boot

★★★★★ 4.8 (340)

$165

A clear focus ring, real buttons and checkboxes, and states read out loud.

Why it matters

Shoppers using a keyboard or screen reader need to open filters, select options, hear the result count and move through product cards. Custom filter widgets often break all of this.

How to do it

  • Build filter groups as disclosure buttons with checkboxes inside.
  • Announce result count changes to screen readers.
  • Make each product card one link with a clear name, and keep focus order logical.

On ShopifyTheme setting

Shopify's own themes follow accessibility standards; test any filter app with a keyboard.

Quick test: Can filters and product cards be used fully by keyboard and screen reader?

FAQ

How should filters work on mobile?

Behind clear Filter and Sort buttons, in a drawer with collapsible filter groups, live counts and a sticky button that shows how many results you'll get.

Sidebar or horizontal filters?

A sidebar suits many filters; a horizontal bar suits a few. Shopify themes offer both.

Sources

Alex Peric

Written by Alex Peric

Conversion designer. I design, redesign and build online stores, product pages and landing pages, A/B test them and show what each change earned. CXL certified in Conversion Optimization and Ecommerce Marketing, and a guest speaker on ecommerce UX at NYU School of Professional Studies.

Let's talk

Let's find out why your visitors aren't buying.

Send me the page. On the call I'll tell you what I'd fix first, what it could move, and whether I'm the right person for it.

Book a call