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, price, or brand.
Product filtering lets your customers narrow down the products shown on category pages, for example by color, size, price, or brand. The filters are based on information you already have on your products: the fields in your product profiles, brands, prices, and product labels.
Types of product filters
In Shoporama, you can filter products by:
- Profile attributes: the fields in your product profiles, such as color, material, and size
- Product labels: for example "New", "Sale", or "Organic"
- Price: a price range with a minimum and maximum
- Brand and supplier: filter by brand or supplier
Set up filtering
How you set up the filters depends on your theme. In Montana and MontanaB2B, you build the filter yourself under Design → Filter, where you choose the facets, such as brand, profile attributes, price, and stock status. See how in Product filtering in your online store.
In Delaware, the filters are based on tags in your product profiles. Here's how:
- Give the fields in your product profiles a tag under Webshop → Product profiles (for example "color" and "size"). Each value also needs a tag, for example "red", "blue", and "black"
- Enter your tags in the Filters field under Design → Theme settings, separated by commas, for example color,size, and turn on Enable filtration under Categories
- If a category needs its own filters, write a line such as filters=color,material in the Extra fields field in the Advanced card on the category. Extra fields are written as key=value, one per line
The extra fields on your products (Extra fields in the product's Fields card) are not used by the filters. Your theme can show them on the product page.
Implementation in your theme
To show filters in your theme, your developer needs to build the filtering interface. If the theme sets "supports_filters": true in theme_settings.json, you get the menu item Design → Filter, and the theme gets the filtering data in the Smarty variable $facets on category pages, search results, and brand pages.
Most of Shoporama's standard themes have filtering built in. If you use a theme like Delaware, filtering is already available.
AJAX filtering
For a better user experience, you can use AJAX filtering, which updates the products without reloading the whole page. Shoporama has an /ajax endpoint that returns products in JSON format.
Tip
Good filtering can significantly improve the user experience and the conversion rate, especially in stores with many products in their categories.
Need help with filtering? Contact us at support@shoporama.dk.
Related articles
Unsubscribe links in automated emails
Let your customers unsubscribe from automated emails, such as follow-ups after purchase and product review requests, with a single link in the email.
AI assistant in the text editor: write product descriptions with AI
Learn how to use the built-in AI assistant in Shoporama's text editor to continue your text, improve product descriptions and other copy, and get...
Reorder list and stock management
Learn how to use the reorder list in Shoporama to reorder based on minimum stock and sales, see the order total and supplier free shipping, and...
Related features
Product filtering (faceted search)
Product filtering lets customers narrow down your range by price, color, size, and more. Learn about filter types, best practices, and SEO for...
Online store for yarn shops: sell yarn and patterns online
Take your yarn shop online with Shoporama. Handle color numbers, knitting kits, and digital patterns. POS system included. Try it free for 30 days.
Online store for wine shops: sell wine online
Start a professional online store for your wine shop with product descriptions, filtering, age verification, POS, and accounting. Try it free for...
Lightning-fast site search with Elastic Search
Lightning-fast product search with Elastic Search for your online store. Typo tolerance, synonyms, zero-result searches, and search analytics...