Product filtering in your online store
Guide to product filtering in Shoporama. You build the filter yourself under Design → Filter, choose which facets customers get (brand, supplier, subcategories, product labels, profile attributes such as size and color, price, and stock status), and decide what they are called in your store. The article covers setting up a filter step by step, merging values such as S and Small, price ranges and campaign prices, the filter as its own page under /filter/, and what customers see in terms of counts, selected filters, and the filter on mobile. Filtering only works in the Montana and MontanaB2B themes.
A category page with 400 products is hard to get an overview of. With product filtering, customers can narrow the results down to what is relevant to them, for example black shoes in size 42 under 800 DKK, instead of scrolling past everything else. The filter appears on your category pages and in search results, and it can also be shown on your brand pages. You build it yourself in the admin without help from a developer. Note, however, that product filtering only works in the Montana and MontanaB2B themes, which we come back to in the next section.
Customers find the right product faster, and your pages feel like a real online store instead of a long catalog. This article explains how to create a filter, which facets you can choose from, how to name them, and what customers see in your store. If you are looking for the older type of filtering in your store, that article is still available.
Filtering only works in Montana and MontanaB2B
Product filtering only works in two themes: Montana and MontanaB2B. If your store runs a different theme, for example Delaware, California, Washington, Alaska2, or a theme built specifically for you, you cannot use product filtering.
You can see this right away in the admin: if your theme doesn't support filters, the menu item Design → Filter doesn't exist at all. If you are not sure which theme you are running, you can look at the overview of the themes in Shoporama, or write to support@shoporama.dk.
How to create a product filter
- Go to Design → Filter in the admin, and click Create Filter.
- Give the filter a name. The name is only shown in the admin, so call it something you will recognize, for example "Clothing and shoes" or "Default filter".
- Under "Show the filter on", choose whether the filter should be used on category pages, search results, brand pages, or several of them. The Brand Pages checkbox is checked by default. You can limit the filter to selected categories, and if you choose no categories, the filter applies to all category pages.
- Add the facets from the dropdown. A facet is a group of options, for example Brand or Size.
- Give each facet the name customers should see, and expand it to choose what to include, if the facet has settings.
- Drag the facets up and down until the order is right. The most important ones should be at the top.
- Save, and look at a category page in your store to see the result.

The facets you can choose from
You decide which facets to include and where they appear. The values themselves come from your products, so you don't have to enter them.
- Stock status. A single checkbox that narrows the results down to products in stock. It is invaluable in a store where part of the range is on backorder, because customers don't have to click into a product they cannot buy.
- Brand. The customer's shortcut to the brand they already know. A sports store can let customers go straight to their favorite brand instead of browsing the whole category. Read more about brands and labels.
- Supplier. The same principle, but based on the supplier the product comes from. This makes particular sense in a store where customers know the wholesaler, for example a hardware store or an auto parts store.
- Subcategories. Shows the subcategories of the category the customer is viewing. If the customer is in Coffee, they can narrow it down to Whole beans or Ground coffee with one click. See also the article about categories in your store.
- Product labels. You choose which labels customers can filter by. A pet store, for example, can let customers choose Organic or Grain-free if the products are labeled that way.
- Profile attributes. Product variants such as Size, Color, or Language. You choose which attributes to include, and the values are shown with a count next to each one. A bookstore, for example, can filter by Language, and a clothing store by Size and Color.
- Price. Price ranges customers can choose from, for example under 100 DKK or over 500 DKK. See the section about price ranges further down.
The filter also works on search results if you set it to. Customers can then search broadly and narrow down afterward, instead of having to get the perfect search on the first try. Read more about the search function in Shoporama.
Names and merging values
Each facet gets a name that customers see, and it doesn't have to be the same as in the admin. If you have used a field for something other than its name suggests, name the facet after what you have actually put in the field. If the author is in the brand field, call the facet "Author", and if the importer is in the supplier field, call it "Importer". Choose the word your customers use themselves.
If your products come from several suppliers, the same size is often written in two different ways. If you have both S and Small on your products, they are shown as two options by default. You fix this by giving them the same name, for example Small, and they are then merged into one option for the customer.
You don't need to go through the whole list. The values you leave alone appear automatically with the text that is on the products.
Shared values bring your profiles together
If you use shared values on your product profiles, the filter handles a large part of the merging by itself. A value that is linked to a shared value is shown under the shared value's name. If a value is linked to the shared value Medium, it appears as Medium in the filter, even if it has a different name in the profile. This can happen, for example, if your profiles were moved over with Claude and the values were not renamed.
At the same time, shared values from other profiles are included automatically if they are also used by the attributes you have chosen in the filter. Only the shared values are included: if the pants profile also has regular values, such as W32, they are not shown until you choose the pants profile's attribute in the filter yourself. If you have chosen Size from your T-shirt profile, and your pants profile uses the same shared sizes, Medium shows both T-shirts and pants. If you later create a new profile with the shared sizes, it also appears in the filter without you having to go to Design → Filter. Read more in Shared values.
Numbers as ranges, such as working pressure
Some attributes are numbers, such as working pressure, length, or diameter. Here, customers rarely look for exactly 400 bar, but for anything that can handle at least 400 bar. Check Show as ranges on the attribute facet, and customers see options such as "Under 250 bar", "250 - 400 bar", and "400 bar and up" instead of each value separately.

You write the ranges one per line, exactly like the price ranges: -250 is everything under 250, 250-400 is from 250 up to 400, and 400- is 400 and above. If you leave the field empty, we find round ranges ourselves based on the numbers in your values. If you write ranges that overlap, a value is only included in the first one it fits in.
The number is read from the start of the value, so 400 bar counts as 400. Values without a number at the start, such as "Unknown", are not included in any range. If all the values have the same unit, such as bar, the unit is included in the names of the ranges. If you use shared values, you can also give a shared value a number manually under Shared Values, and that number is then used instead. This is useful if the name doesn't start with the number. You don't need to do anything in the theme: the ranges are shown as regular options in the filter.
Price ranges
You write price ranges one per line, for example 0-100, 100-250, and 500-. The last range is everything from 500 DKK and up. If you leave the field empty, round ranges are found automatically based on the prices in your own store, which is usually a good starting point.
The price facet uses the price the customer sees, which means the sale price when a product is marked down. Campaign prices, on the other hand, are not included, because they are only calculated at the moment the page is displayed. If you run a lot of campaigns, be aware that a product with a campaign price can end up in a different range than the price the customer actually pays.
The filter as its own page
A filter can also get its own page at the address /filter/summer-sale, where the last part is the word you choose for the page. On a category page, the category decides which products are included, but on the filter's own page, you choose the selection yourself based on categories, product labels, brands, or only products in stock.
This is useful when you want to gather a selection across categories, for example all products with the Sale label, and send traffic directly to it from a newsletter, an ad, or a menu item.
The filter on brand pages
If you have turned on brand pages, each brand gets its own page with the brand's products, such as /brands/nordic-roast. Here, customers can use the filter just like on a category page. You control this with the Brand Pages checkbox under "Show the filter on". The checkbox is checked by default on all filters, so if you already have a filter, it is automatically included on the brand pages. If you don't want the filter there, uncheck the box and save.

The brand facet is not shown on a brand page, because the page only has one brand. The other facets are shown as on the category pages, and the filter is in the same place on the page as there. The Subcategories facet, however, shows the categories the brand's products are in, because a brand page doesn't belong to a specific category. If you have several filters with the Brand Pages checkbox checked, the top one of those that apply to all categories is used, because a filter built for, say, Shoes rarely fits a brand that also sells bags. If you only have filters for selected categories, the top one of them in the list under Design → Filter is used. Only active filters count.
Brand pages also exist in Delaware, California, and Alaska2, where customers can sort the products and page through them, and in Washington, where products load continuously as the customer scrolls. Those themes have no filters.
What customers see
Next to each option is the number of products, and the number is calculated based on what the other facets are set to. If the customer first chooses a brand, the numbers in the other facets update, so they can see how many products each next choice gives before they click. A facet without values is not shown at all, and the same applies to a single option without products. So if there are no products with a particular product label in the results, the whole facet is skipped instead of being shown empty. If the customer combines several facets, however, the result can still end up empty.
The selected filters are shown as small buttons above the products, each with an X that removes that selection again, and there is a button that clears everything at once: "Clear all". On mobile, the filter is behind a Filter button that opens it as a full-screen panel, so it doesn't take up space from the products. Pagination and sorting are kept when the customer filters, so they are not sent back to page 1.

The customer's choices are stored in the page address. That is why they can bookmark or share a filtered page, and you can copy the address yourself and use it as a link in a newsletter or an ad. The filter also works on slow connections and old phones. If your theme should load products in the background instead, there is a technical article about AJAX filtering.
Hide the category menu when there is a filter
In Montana, the category menu and the filter share the same left column, and in some stores that becomes too much. That is why there is a setting called "Hide the category menu when there is a filter" under Design → Theme settings → Category pages. If you turn it on, the category menu disappears on the pages where a filter is shown, so customers only have one place to click.
If you still want to keep the subcategories within reach, you can add the Subcategories facet to the filter. Customers can then click further down into the category they are viewing, directly from the filter.
For developers: enable filtering in a custom theme
This section is written for those who build or maintain a theme. If you use Montana or MontanaB2B, everything below is already in place, and you can skip this section.
A theme tells Shoporama itself that it can show filters. This is done with a single line in the theme's theme_settings.json:
{
"info": "My theme",
"supports_filters": true
}
Without that line, the menu item Design → Filter doesn't exist, and the store owner cannot create a filter. With it, on the other hand, the theme promises that it actually shows the filter wherever it shows products, so only add it once the templates are in place.
The flag deliberately says nothing about which types of facets the theme can show. All facets have the same structure, namely a name, a set of options, and a count next to each, so a new facet type works in your theme without you changing anything. The template variables themselves, a complete code example, and how the filter's own page fits together are described in the theme documentation in the section about product filtering.
Frequently asked questions
I can't find Design → Filter in my admin. Is it something that needs to be turned on for my account?
It's not the account, it's the theme. The menu item only appears when you run a theme that supports filtering, and only Montana and MontanaB2B do. If you run, for example, Delaware, California, Washington, Alaska2, or a custom-built theme, the menu item isn't there at all. If you are not sure what your store is running, write to support@shoporama.dk.
I had my own theme built on top of Delaware. Can I just turn on the filters there?
No. The theme itself has to support filtering, and only Montana and MontanaB2B do. A theme built on top of Delaware, or another theme made specifically for you, doesn't support filtering, which is why the menu item isn't visible in the admin either. If you want to use product filtering, the store either has to move to Montana or MontanaB2B, or your theme has to be updated to support filtering. Write to support@shoporama.dk, and we will look at what makes sense for your store.
I have created a filter, but it doesn't appear on the category page. What did I do wrong?
Check the "Show the filter on" field. The filter has to be set to show on category pages, and if you have also chosen specific categories, it only applies to those. If you choose no categories, the filter applies to all category pages. Also remember that a facet without products in the results is not shown at all, so on a small category the filter can look sparse, even though everything works as it should.
My product range changes all the time. Do I have to update the filter every time?
Almost never. New brands, suppliers, sizes, and colors appear automatically, because the values come from the products. But if you create a completely new product label or a completely new attribute, for example Material, you have to add it yourself under Design → Filter, because you are the one who chooses which labels and attributes are included. The exception is attributes that share shared values with an attribute that is already in the filter. They are included automatically. The count next to each option is calculated from the current results, and options without products behind them are skipped. If you leave the price ranges empty, they also adjust themselves. Otherwise, you only need to go to Design → Filter if you want to change names, the order, or which labels, attributes, and other facets are included.
What happens to a facet if there are no products left in it?
It is not shown. If, for example, there are no products with a particular product label in the results, the whole facet is skipped instead of being shown empty, and the same applies to a single option without products. That is why the same filter can look slightly different from category to category, which is entirely intended.
I have turned on brand pages. Why is there no brand filter on them?
Because a brand page only shows one brand, so there is nothing to choose between. The rest of the filter is shown as long as the Brand Pages checkbox under "Show the filter on" is checked, which it is by default. If you have several filters, the one that applies to all categories is used. If you don't see any filter at all on the brand page, check that the checkbox is checked, that the filter is active, that it has facets other than Brand, and that your store runs Montana or MontanaB2B. Read more about brand pages.
Does the price filter work correctly when I run sales and campaigns?
The price facet uses the price the customer sees, which means the sale price when the product is marked down. Campaign prices, on the other hand, are not included, because they are only calculated at the moment the page is displayed. A product with a campaign price can therefore end up in a different range than the price the customer actually pays, which is worth keeping in mind if you run campaigns most of the year.
What happens in terms of SEO when customers click around in the filters?
Filtered pages are automatically set to noindex with a canonical pointing back to the plain category, search, or brand page, so Google doesn't index all the combinations. In other words, you won't wake up to hundreds of new URLs in the search results. The choices are still in the address, so you can share a filtered link yourself when you need to.
Can I send traffic directly to a filtered page from a newsletter or an ad?
Yes. Set the filters the way you want them, copy the address from the browser's address bar, and use it as a link. If you want a nicer address and a selection that spans categories, you can instead give the filter its own page at /filter/summer-sale and choose the products yourself based on categories, product labels, brands, or only products in stock.
If you have any questions, or would like help setting up your first filter, write to support@shoporama.dk.
Related articles
Filtering in your online store
How to set up product filtering in your Shoporama store, so customers can filter products on category pages by profile attributes, product labels,...
AJAX product filtering with the /ajax endpoint
Technical documentation for Shoporama's /ajax endpoint, which returns products as JSON for AJAX filtering, lazy loading, and infinite scroll. For...
Product categories in your store: create, organize, and optimize
Learn how to create and manage categories in your Shoporama store. A guide to the category hierarchy, SEO settings, CSV import, product sorting,...
Brands in Shoporama: create, display, and use brands
A guide to brands in Shoporama: create brands, upload logos, link to brand pages, and use brands in filtering, Google Shopping, and statistics.
The search function in Shoporama
Everything you need to know about Shoporama's site search: how it works, what it searches in, and how to improve it with settings and extra keywords.
Shoporama themes: an overview of all free store themes
A complete overview of all free themes in Shoporama: Delaware, DelawareDK, California, Alaska 2, Washington, Montana, and the classic Smarty 2...
Shared values: the same sizes across product profiles
Use shared values so that, for example, Medium is the same value in all your product profiles, and customers can filter on everything in Medium,...
Brand pages: give each brand its own page in your online store
Give each brand its own page with logo, text, and products, plus an overview of all brands at /brands. Here's how to turn on brand pages, write the...
Related features
Product filtering has arrived, and you build the filter yourself
Product filtering is here in Montana and MontanaB2B and can be added to your own theme. Build the filter under Design → Filter and name the facets...
Product filtering: customers find the product without scrolling
Narrow a large product range down to relevant products with filters for brand, price, stock, profile attributes, and categories. Requires Montana...
Brand pages: a page for every brand
Give every brand its own page with logo, text, and all its products, plus an overview of all brands. URLs, sitemap, and technical SEO are handled...
Delaware theme settings: store and products
Every field in Delaware's theme settings for store and products explained: colors, badges, value propositions, filters, categories, product page,...