Filters help shoppers narrow a collection or search results by availability, price, product type, size, color, material and more. Atelier shows the filters you create in Shopify's free **Search & Discovery** app, so you choose which filters appear and in what order there, and choose how they look in the theme editor.

![Women collection filtered to Beige and a price up to $250: removable chips for each filter and Clear all above the grid, and a sidebar with Availability, a From/To price range and a Color filter of round swatches with counts](../_images/collection-filters-swatches-active.jpg)

## Set up filters

1. Install the **Search & Discovery** app from the Shopify App Store.
2. In the app, open **Filters** and click **Add filter**. Choose a source, for example **Availability**, **Price**, **Product type**, a variant option such as **Size**, or a product metafield.
3. Drag filters into the order you want and save.
4. In the theme editor, open a collection template, click **Collection products**, and make sure **Enable filtering** is on.

The same filters appear on the search results page when **Enable filtering** is on in the **Search results** section.

## Choose a filter layout

In the **Collection products** section (and the **Search results** section), **Desktop filter layout** sets how filters appear on desktop:

| Layout | How it looks |
| --- | --- |
| **Sidebar** | A column of filter groups beside the grid, all open. Best for stores with many filters. |
| **Horizontal** | A row of filter buttons above the grid that open when clicked. Leaves more room for products. |
| **Drawer** | A **Filter** button that opens a panel from the side. The cleanest look. |

On mobile, filters always open in a drawer from a **Filter** button, which shows how many filters are active.

## What shoppers see

- **Checkbox filters** for text values, with the number of matching products next to each value. Values with no matching products are disabled.
- **Swatch filters** for colors and patterns, when the filter is set to show as swatches in Search & Discovery. Image filters show the value's image.
- **A search box** inside long filter groups (more than 8 values), so shoppers can find a value quickly.
- **A price range** with From and To fields, and a note showing the highest price.
- **Active filter chips** above the grid. Shoppers remove one by clicking it, or click **Clear all**.
- **Show results** and **Clear all** buttons at the bottom of the filter panel.

With **Update results without reloading the page** turned on, products update as soon as a filter is ticked. Turn it off if an app on your collection pages needs a full page reload.

## Sorting

Turn on **Enable sorting** to show a **Sort by** menu. The options come from Shopify: featured, best selling, alphabetical, price and date. The default order for each collection is set in Shopify admin on the collection's page, under **Sort**.

## Tips

- Start with four to six filters that match how your shoppers browse — for clothing, usually size, color, price and availability.
- For color filters with swatches, give products a category and a color, then add a filter based on the **Color** category metafield. See [Show color filters as swatches](/docs/atelier/swatch-filters).
- Rename filter labels in Search & Discovery so they're clear, for example "Color" instead of "Colour (product.option)".
- If you don't want filters on a particular collection, create a separate collection template with **Enable filtering** turned off.

## Related

- [Collection page](/docs/atelier/collection-page)
- [Search page](/docs/atelier/search-page)
- [Color swatches on products](/docs/atelier/product-swatches)
- [Show color filters as swatches](/docs/atelier/swatch-filters)
- [Set up color swatches](/docs/atelier/color-swatches)