Collection filtering
Pawly renders a full faceted filter sidebar — checkbox groups with result counts and a price slider. What it can't do is invent the filters: those are configured in Shopify's free Search & Discovery app, and without it your collection pages have nothing to filter by.
Filtering is a Shopify platform feature, not a theme feature. Every theme on the Theme Store — Pawly included — displays the filters your store publishes and nothing more. If you skip the app install, the filter panel has nothing to put in it.
1. Install Search & Discovery
It's free, it's made by Shopify, and it takes about a minute.
- In your Shopify admin, go to Apps and search the Shopify App Store for Search & Discovery.
- Install it. It's published by Shopify, so there's no third-party account, no subscription and no script injected into your storefront.
- Open the app and go to the Filters tab.
Shopify seeds a starter set of filters when the app is installed — typically availability, price, product type and vendor. Reload a collection page in your storefront and the sidebar fills in immediately: no theme setting to flip, no republish.
2. Choose your filters
In the app's Filters tab you add, rename, reorder and remove filters. Each one is built from data that already exists on your products:
| Filter source | Comes from | How Pawly renders it |
|---|---|---|
| Availability | Inventory | Checkboxes — "In stock" / "Out of stock" |
| Price | Product prices | Dual-handle slider with min and max boxes |
| Product type | The product's type field | Checkboxes with counts |
| Vendor | The product's vendor field | Checkboxes with counts |
| Variant options | Option names — Size, Colour, Flavour | Checkboxes with counts |
| Product tags | The product's tags | Checkboxes with counts |
| Metafields | Custom fields you define | Checkboxes with counts |
You can also rename a filter's label, hide individual values, and reorder values inside a group. All of that is the app's job — Pawly displays whatever order and labels it publishes, so you don't have to touch the theme to change them.
A metafield only becomes filterable once its definition is exposed to the storefront and uses a type Shopify can filter on — true/false, or single-line text and lists of it. Set that up under Settings → Custom data first, then add the filter in the app.
3. Filters worth having in a pet store
A pet catalogue narrows along axes a general store doesn't have. The ones that earn their place in the sidebar:
| Filter | Values | Build it from |
|---|---|---|
| Pet | Dog, cat, small pet | Product type, or a metafield if type is already doing other work |
| Life stage | Puppy / kitten, adult, senior | Metafield — this is the one shoppers use most |
| Breed size | Small, medium, large | Metafield |
| Food type | Dry, wet, raw, treats | Product type or metafield |
| Dietary | Grain free, hypoallergenic, single protein | A true/false metafield each, or a list metafield |
| Size | XS – XL | Variant option, so it stays in step with what's actually in stock |
| Colour | Your colour names | Variant option |
| Price | — | Price |
| Availability | In stock | Availability |
Two things are worth knowing before you commit to an approach:
- Tags all land in one group. A product-tag filter is a single facet listing your tags, so it works when every tag is the same kind of thing and reads as a jumble when it isn't. For separate Life stage and Grain free groups, use metafields.
- Prefer variant options for anything variant-level. Filtering size by variant option means the counts follow your real inventory. A size recorded as a tag on the product doesn't.
The tags that drive the fit finder and the feeding calculator are a separate mechanism and don't need to appear in the filter sidebar. Nothing stops you using the same tags for both, but you don't have to.
4. The theme settings
Open the collection template in the theme editor and select the product grid section. Under Filtering & sorting:
| Setting | What it does |
|---|---|
| Enable filtering | Shows the filter sidebar and the Filters button. On by default. |
| Enable sorting | Shows the sort dropdown, using Shopify's sort options for the collection. |
| Pagination | Numbered pages, a "Load more" button, or infinite scroll. All three work with filters applied. |
| Products per page | 8 to 48. Lower is faster; 24 is a reasonable default. |
Enable filtering shows the panel whether or not your store publishes any filters — so on a store without Search & Discovery the sidebar opens empty. Either install the app, or turn the setting off until you have.
5. What shoppers get
- No page reload. Ticking a filter fetches just the section and swaps the grid in place. The URL still changes, so a filtered view can be bookmarked, shared, and reached with the back button.
- Result counts, and dead ends greyed out. Every value shows how many products it would leave. A value that would return nothing is disabled rather than hidden, so the sidebar doesn't reshuffle itself under the shopper's finger.
- Removable pills. Applied filters appear above the grid as pills with a "Clear all" beside them.
- A real price slider. Two handles plus typed min and max boxes, in the shopper's active market currency.
- A drawer on mobile. Below the desktop breakpoint the sidebar becomes a panel that opens over the results and closes when the shopper is done.
- Density toggle. A comfortable/compact switch beside the sort dropdown, remembered per device.
- It works without JavaScript. The filters are a real form: with scripting off an Apply button appears and submits it. Nobody gets a dead sidebar.
Changing a filter always returns to the first page of results — which is what you want, since page 7 of the old result set rarely exists in the new one.
6. Filtered URLs and SEO
A filtered collection is a URL like
/collections/dog-food?filter.p.m.custom.life_stage=Puppy. Google will happily
index hundreds of those and then have to decide which near-duplicate deserves the ranking.
Pawly's Theme settings → SEO → Hide filtered pages from search engines adds a
noindex tag to any collection page narrowed by a filter or a tag, so the
collection itself gets the ranking. It's on by default, and leaving it on is the right call
for almost every store. See Theme settings.
7. Search results sort, they don't filter
Faceted filters are a collection-page feature in Shopify. The search results page has the sort dropdown and pagination but no filter sidebar, because the platform doesn't publish facets for search results.
Search & Discovery still improves search in ways you'll notice: synonyms (so "puppy food" finds products titled "junior"), product boosts, and control over which fields are searched. That feeds both the results page and the predictive results in the header.
8. When filters don't appear
The sidebar is empty, or the Filters button opens nothing.
Your store isn't publishing any filters. Install Search & Discovery and check its Filters tab has at least one entry. This is the cause more than nine times out of ten.
I have filters in the app but the sidebar is still missing.
Check Enable filtering on the collection section in the theme editor, and make sure you're looking at a collection page rather than a page built from a featured collection section — that section is a curated row of products, not a filterable listing.
A filter shows on some collections and not others.
Filters only show values that exist in the collection you're viewing. A "Flavour" filter is absent from a collection of collars because no collar has a flavour — which is correct behaviour, not a fault.
My metafield filter isn't in the app's list.
Its definition isn't exposed to the storefront, or its type isn't one Shopify can filter on. Fix the definition under Settings → Custom data and it appears.
Counts look wrong.
They're computed by Shopify against the current collection and the other filters already applied, so a count changes as more filters are ticked. That's how faceted counts are meant to work.
Can I show colour filters as swatches?
Not currently. Colour filters render as labelled checkboxes with counts. Swatches on the product page and product cards are a separate setting and are unaffected.