WooCommerce

Add WooCommerce Product Filters Without a Plugin

Every good online store lets shoppers narrow down products. A visitor who wants black running shoes under fifty dollars should not have to scroll through two hundred products to find them. Filters solve that problem, and most store owners assume they need a paid plugin to add them. You do not. WooCommerce already includes free filtering tools, and with a bit of setup you can give your shoppers price, color, size, rating and availability filters without installing anything extra.

This guide shows you how to add WooCommerce product filters without a plugin. You will set up global attributes first, then use the native Product Filters block in a block theme, or the Product Categories widget in a classic theme. You will also learn which filter types are available, how to keep them fast and tidy, and where the free route stops and a dedicated filter plugin starts to make sense.

What are product filters and why do they matter?

Product filters are the controls, usually in a sidebar, that let shoppers narrow a product list by price, color, size, brand, rating or stock status. Instead of paging through your whole catalogue, a visitor picks the options that matter and sees only matching products. On a store with ten products, filters are a nice extra. On a store with five hundred products, they are essential. Shoppers who cannot filter will leave and buy from a store that lets them.

Filters also help your search rankings in a quiet way. When shoppers filter, they spend more time on your shop pages and view more products, which are both positive signals. And because filtered pages keep people from bouncing back to Google, your store earns more trust. Good filtering starts with good product data though. If your products have no attributes and no categories, there is nothing to filter by. That is why setup comes before design.

Step 1: Set up global attributes first

Attributes are the building blocks of filtering. A global attribute is a reusable option set, such as Color with values Black, White and Blue, or Size with values Small, Medium and Large. You create them in your WordPress dashboard under Products, then Attributes. Give the attribute a clear name, add its values one by one, and save. Repeat for every option your shoppers might filter by, such as Material, Brand or Style.

Next, assign those attributes to your products. Open a product, go to the Attributes section in the product data panel, choose the global attribute, select the values that apply, and tick the boxes for Visible on the product page and Used for variations if the product has variations. This step is the boring part, but it is also the part that makes everything else work. If you sell variable products, our guide to WooCommerce product variations explains the variation setup in detail, and the same attribute data feeds your filters automatically.

Also make sure your products are organised into categories. Categories are the other filter dimension, and a shop with clear categories like Shoes, Shirts and Accessories is far easier to filter than one big unsorted list. Take the time to categorise every product before you build the filter sidebar, because a filter can only show what your data already contains.

Step 2: Use the Product Filters block in a block theme

If your site uses a block theme such as Twenty Twenty Four or Storefront with the block editor, WooCommerce gives you the Product Filters block for free. Open the Shop page in the editor, or open the Shop template in the Site Editor, and add the Product Filters block to the sidebar area. The block comes with several filter types built in, and you add them one at a time from the block inserter.

The Filter by Price block adds a price range slider with minimum and maximum values. The Filter by Attribute block lets shoppers pick values from any global attribute you created, such as Color or Size, shown as checkboxes or color swatches. The Filter by Rating block shows one to five star options, and the Filter by Stock block lets shoppers show only products that are in stock. Add the ones your shoppers need and leave the rest out, because a sidebar with eight filters is harder to use than one with four good ones.

Place the filters where shoppers expect them, usually in a left sidebar on the shop and category pages. Test them on a phone as well as a desktop, because on mobile the sidebar often moves below the products. If that happens, check whether your theme offers a filter toggle or a collapsible sidebar, and keep the most useful filter at the top. A shopper who has to scroll past six filters to reach the first product will not thank you.

Step 2 (classic themes): Use the Product Categories widget

If your site uses a classic theme with the old widgets system, you will not see the Product Filters block. You can still offer filtering with the built in WooCommerce widgets. Go to Appearance, then Widgets, and open the Shop Sidebar or the sidebar your theme assigns to shop pages. Add the WooCommerce Product Categories widget to show a clickable category list, and add the Filter Products by Price widget to show a price slider. Add the Filter Products by Attribute widget once for each attribute you want shoppers to filter by, choosing Color for one and Size for another.

The classic widgets are simpler than the block versions. There is no rating filter widget and no stock filter widget, and the layout options are limited. But for a small store they do the job well, and they need no plugin and no code. If your theme has no shop sidebar area, check the Customizer under Widgets, because some themes register the sidebar only when WooCommerce is active. You can also place the widgets in a footer area as a fallback, though a sidebar is the natural home for them.

Which filter types should you offer?

More filters are not always better. Offer the filters your shoppers actually use, and in this order of importance.

  • Price: the most used filter in almost every store. A slider or a set of price ranges works well.
  • Category: lets shoppers jump to the section they want without using search.
  • Attribute: color, size, material or brand, depending on what you sell.
  • Rating: useful once you have enough reviews for the stars to mean something.
  • Availability: show only in stock products, so shoppers never fall in love with something they cannot buy.

Keep the list short and relevant to your products. A clothing store needs color and size. An electronics store needs brand and price. A store that sells digital downloads may not need filters at all, and a clean category list will serve shoppers better. Watch your store analytics after launch. If a filter is never used, remove it. If shoppers keep searching for something you do not filter by, add that attribute and turn it into a filter.

Honest limits of the free route

The free route covers the basics, but it has real limits. There is no combined search and filter, no filter by multiple attributes at once in the classic widgets, and no way to show product counts next to each option in some themes. The design is plain, and matching it to your brand usually means custom CSS. Large stores also hit performance limits, because every filter click reloads the page and re-queries the database. If your shop has thousands of products, that reload starts to feel slow.

A dedicated filter plugin solves these problems with instant AJAX filtering, combined filters, better layouts and product counts. Before you pay for one, though, squeeze everything out of the free route. Clean up your attributes, remove filters nobody uses, and keep your product count per page reasonable. Many stores never need more than the free tools. If you do outgrow them, you will know exactly which features you are paying for, instead of buying a plugin for a problem you never had. While you are improving the shop, also consider the little touches that raise sales, like learning how to hide prices in WooCommerce for products that need a quote, or how to add a WooCommerce wishlist without a plugin so shoppers can save items for later. And if you want to protect your margins, our guide on how to set a minimum order amount in WooCommerce shows another no plugin setup that pairs well with good filtering.

Frequently asked questions

Can I add WooCommerce product filters without a plugin?

Yes. Block themes can use the free Product Filters block with price, attribute, rating and stock filters, and classic themes can use the built in WooCommerce widgets for categories, price and attributes. Both routes need your products to have proper categories and global attributes first, but neither needs a plugin or any code.

Why are my filters not showing any products?

The most common cause is missing attribute data. Check that the attribute is assigned to the product, that its values are selected, and that the product is published and in stock. Also check that the filter block or widget is placed on the shop or category template, not on a regular page, because filters only work where WooCommerce controls the product query.

Do product filters slow down my store?

They can, because each filter click reloads the page and runs a new database query. On a small store the effect is tiny, but on a store with thousands of products it adds up. Keep your attributes clean, limit the number of filters, and consider a caching plugin or a filter plugin with AJAX loading if the shop starts feeling slow. For general speed help, our guide on how to enable Gzip compression in WordPress without a plugin is a good companion read.

Can shoppers filter by more than one attribute at the same time?

With the free Product Filters block, shoppers can combine a price range with one attribute filter in most setups, but combining several attributes at once is limited and depends on your theme. The classic widgets are more limited still. If combined multi attribute filtering matters to your store, that is the point where a dedicated filter plugin earns its price.

Last updated: November 2026.

Hostinger - Get 20% OFF

Habib ur Rehman

Hello! I'm the founder of VU Tech Geek. As a BSCS graduate and experienced WordPress professional, I'm passionate about technology and education. My Virtual University journey has given me valuable insights and knowledge, which I love to share with fellow students.… More »

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker