Skip to content
Farin Theme Guide
GuidesContent and Products

Filters

Filters are the box with which a shopper narrows products on the shop page by price, category, brand, color and other attributes. Here you decide which filters appear, in what order, in what style and on which pages. This section works with WooCommerce.

Where is it? Farin → Filters

Without reloading the pageWhen you click Apply, remove a filter, change the sort order or click a page number, only the product list changes. The page address changes too, so the browser's back button works and you can share a filtered link.

Shop filters

Shop filters box with the general settings at the top and a card for each filter: price range, category, brand, attributes, rating, stock, discount and search
At the top of the box are the general settings for the filters box, and below it each filter has a card. A switched-off filter looks dimmed.

Each filter is visible to the shopper only when the products on that page have an option for it; for example, the color filter does not appear in a category where none of the products has a color. Every filtered page has its own address, so the shopper can send it to someone and the browser's back button works correctly.

Available filters

The initial list has these filters, in this order:

  • Price range, Category and Brand.
  • One filter for each attribute that you created in Attributes and Brands such as color or size. An attribute whose swatch is a color or image takes the “color or image swatch” style from the start.
  • Rating (off by default), In-stock products only, Discounted products only and Search products (off by default).

A new attribute you create is added to the end of the list by itself, and an attribute you delete leaves the list.

General settings

OptionWhat it doesDefault
Show the product count next to each optionBeside each option, for example “Red”, the number of products that have it is shown.On
Selected filters above products with a remove buttonEvery filter the shopper has chosen appears above the product list and is removed with one click.On
Filters box at the startWhether each filter is open or closed when the page opens: “Per filter” (according to each card's “Open”), “All open”, “All closed” or “Only the first open”.Per filter

Settings for each filter

To reorder, drag the handle at the corner of the card. The order of the cards is the order of the filters for the shopper.

OptionWhat it doesDefault
Switch beside the nameTurns the filter on or off.On, except rating and search
TitleThe name the shopper sees above the filter. If left empty, the filter's or attribute's own name is used. Up to 40 characters.Empty
StylePrice: “Two-handle bar” or “Two number boxes”. Category: “Checklist”, “Buttons” or “Dropdown list”. Brand and attributes: those three plus “Color or image swatch”. Rating: “Stars”; stock and discount: “Switch”; search: “Text box”.Each filter's first style
How many options to show (rest under “More”)Only for category, brand and attributes, from 0 to 50. Further options go behind the “More” button.8
Shop and searchThe filter appears on the shop page and in search results.On
Categories and brands pageThe filter appears on each category and each brand page.On
OpenThis filter is open when the page opens. It only has an effect when “Filters box at the start” is set to “Per filter”.On
Search within optionsOnly for category, brand and attributes. A search box appears above the options; it suits a filter with many options, such as brand.Off

After making changes, press “Save filters”. “Back to the initial list” restores the list to its original state after confirmation and saves at once; it does not need “Save filters”.

Color or image swatchThis style looks good when you have set a color or image for that attribute's values, and a logo or brand color for brands. Set these in Attributes and Brands .

Frequently Asked Questions

I turned a filter on but it doesn't show on the category page.

Check two things: the “Categories and brands page” box is ticked for that filter, and the products in that category really have that attribute. A filter with no options on that page does not appear.

I created a new attribute; do I have to create its filter too?

No. Each new attribute's filter is added to the end of the list by itself. If you want it elsewhere, drag its card and save.

How do I move the brand filter above price?

Grab the “Brand” card's handle, drop it above “Price range” and press “Save filters”.

Farin Theme · 1405