Skip to main content

Filter configuration

Set up and customize filters to help shoppers refine results by price, size, color, or product attributes in your store.

Updated over 2 weeks ago

Filters are managed in Configuration > Search & collection pages > Filters.

Filters are managed in Configuration > Search & collection pages > Filters - click "Customize" on the Filters card

Click "Customize" on the Filters card under Search & collection pages.

You can set up different filter types, adjust their settings, and control how they look and behave in your store.

By default, the Prefixbox app will display the Price, Brand and Availability filters.

You can reorder filters by drag & drop under the Search and Collection tabs.

Filter interaction

The filters you configure and add to your search and collection pages, can be applied right after a shopper interacts with it, or only upon clicking on a button. This preference can be set separately for mobile and desktop.

If you go with the manually apply filters option, you can also set the label of the button as you like, e.g. "Search" or "Apply filters".

Choose if your filters should be immediately applied on click, or a control button should appear alongside them.

Choose if your filters should be immediately applied on click, or a control button should appear alongside them.

Filter labels

In this section you’ll find input fields that control the labels used across all filters. For example, the Search field placeholder applies to every searchable filter, while the Show more / Show less labels apply wherever filters are limited to only a few visible values. This keeps the storefront experience consistent.

Set the labels used across filters - e.g. selected filters, clear filters, show more values, show less values, etc.

Set the labels used across filters - e.g. selected filters, clear filters, show more values, show less values, etc.


Add or edit a filter

When you add a filter (by clicking the "Add a filter" button in the right corner of the Filters page), you’ll set its main configuration options:

  • Source — choose if the filter is based on a standard product field, a metafield, or a product option

  • Filter label — this is the name shown to shoppers in the storefront

  • Filter type — select how the filter values are displayed (range, multiple value, single value, color palette, or grid selector)

⚠️ Important: For metafields and product options to work as a filter source, assign each of them in Configuration > General > Field management and run a Force sync.

Once you save a filter, you can’t change its source or type. If you'd like to, remove the filter and add it again. The filter label can be changed any time.

Additional configuration options

Depending on the filter type, you can further set / edit:

  • Availability — show the filter on collection pages, search result pages, or both

  • Search options — filter values can be set as searchable on the storefront

  • Value display — show all filter values or only a limited number (set how many)

  • Sorting, grouping and exclusions — create groups of values, add or remove values from groups, ungroup them, set their sorting, or exclude values entirely

💡Hint: Grouping helps simplify long lists of values — like combining “navy” and “royal” into “blue.”

Additional configuration options - might differ depending on the filter type.

Additional configuration options - might differ depending on the filter type.


Grouping and exclusions

Except for range filters, you can:

  • Create a new group (like “Blue shades”)

  • Add values to an existing group

  • Remove values from a group

  • Ungroup values

  • Exclude values from appearing at all

    Grouping options and exclusions under value filters

    Grouping options and exclusions under value filters

Grouping makes filters easier to scan, while exclusions hide values that don’t make sense to display (like “Unknown” or empty metafields). Neither deletes product data, nor changes the number of products displayed upon search or on a collection page.

💡Hint: On your storefront, shoppers will only see filters and filter values relevant to their search results, or chosen collection page.


Sorting filter values

Except for range filters, you can control how filter values are ordered:

  • Alphabetically — A–Z or Z–A

  • By result count — most used or least used filter values first

  • Manually — set your own custom order in the app by drag & drop

Sorting options for filter values

Sorting options for filter values

💡Hint: Manual sorting is great when you want sizes to follow a natural order (XS, S, M, L, XL) instead of alphabetical order.


Filter types

Range filter

Let shoppers select a numeric range, such as price or weight.

Special configuration options:

  • Slider step value — controls how smoothly the slider moves in the filter container

  • Input fields — lets shoppers type exact minimum or maximum values instead of only dragging the slider

Set how the slider should move on the storefront, and if you'd like to display min / max input fields.

Set how the slider should move on the storefront, and if you'd like to display min / max input fields.

Multiple value filter

Let shoppers select one or more values from a list — for example, material, brand, or style.

Configuration includes all additional options listed above.

Multiple value filter displayed on the storefront

Multiple value filter displayed on the storefront

Single value filter

With this type, shoppers can pick just one option from a list. This is most useful for attributes where it only makes sense to choose a single value — like “Fit” or “Size.”

Extra configuration option:

  • Show all products option — add a radio button that resets the filter and is selected by default. You choose the label text (for example, “Show all” or “No preference”).

Add a label for your default filter option radio button

Add a label for your default filter option radio button

Grid selector filter

Display filter values in a grid layout — ideal for when you want values to be scannable and comparable at a glance instead of buried in a long dropdown or checklist, e.g. volume and weight options, dimensions, or shapes.

This is how a Grid selector filter looks like on the storefront when expanded.

This is how a Grid selector filter looks like on the storefront when expanded.

Configuration works the same as for multiple value filters, with grouping, exclusions, and sorting available.

Color palette filter

Show colors as swatches instead of plain text, making it easier for shoppers to spot the right color.

You can set up a color filter in two ways:

  • From a custom metafield

  • From a product option (Color variants)

Option 1: Use a custom metafield

This method works with custom, single-line text metafields (namespace: custom.) defined under your Shopify settings.

Steps:

  1. Add a custom metafield (e.g. custom.color) with a single line text type under your Shopify settings.

  2. Go to Shopify Admin > Products, and add your colors to the products you select.

  3. Go to Prefixbox > Configuration > General > Field management, and assign your newly created custom color metafield.

  4. Perform a Force sync, and wait for the new file version to go live.

  5. Add your color palette filter under Prefixbox > Configuration > Search & collection pages > Filters, and make sure you choose the custom metafield you just added, as the filter's source.

  6. The filter values will be listed in the table below your filter configuration settings.

Color filter conifigurations and values ungrouped

Color filter configurations and values listed before grouping

This option is best if you want full control over your colors by storing them in a custom metafield. Each product in Shopify can have its own color value saved this way.

Option 2: Use a product option (Color variants)

You can also create a color filter from your product variants if colors are added as product options.

⚠️ Important: Before setting this up, make sure your products already have Color options added under Shopify Admin > Products.

Different colors of the same product added as product options

Different colors of the same product added as product options

Steps:

  1. Go to Prefixbox > Configuration > General > Field management. Click Assign field, select Product option, and type the name of your option (the same way as under your variants, "color”).

  2. Run a Force sync (button in the top-right corner, then click Force sync again) and wait 5–10 minutes.

  3. Go to Prefixbox > Configuration > Search & collection pages > Filters, click Add filter, and choose your product option as the filter’s source.

  4. Set the other configuration options as needed.

  5. Your values will appear in the list at the bottom of the page.

Color palette filter setup with colors as product options

Color palette filter setup with colors as product options

Grouping is a bit different when it comes to the color palette filter type. The colors assigned to HEX codes under Color mapping will serve as the groups under this filter type.

⚠️ Important: For filter values to show up as a color swatch on your storefront, make sure you group them to the connecting display text and HEX code from Color mapping.

For example, if you have a “Black” filter value, make sure you add it to the group name you’d like to display on your storefront (can be “Black,” “Dark shades,” or any label you set under Color mapping).

Mapped colors - filter values grouped to the display text and HEX codes defined under Color mapping

Mapped colors - filter values grouped to the display text and HEX codes defined under Color mapping

Besides grouping, you can make exclusions and set sorting for your colors here.

Did this answer your question?