Website Building » WooCommerce » How Do I Set a Filter by Price in WooCommerce?

How Do I Set a Filter by Price in WooCommerce?

Last updated on January 18, 2023 @ 8:40 am

As anyone who has ever shopped online knows, one of the most user-friendly features of ecommerce platforms is the ability to filter search results by price. For example, on Amazon, you can click a button to only see results that are under $25. On eBay, you can set a minimum and maximum price range.

And on Etsy, you can specify how much you’re willing to spend in your search. But what about WooCommerce? Can you set a filter by price in WooCommerce?

The answer is yes, you can set a filter by price in WooCommerce – but it’s not as straightforward as it is on other ecommerce platforms. In fact, there are several different ways to set a price filter in WooCommerce, depending on what exactly you want to achieve.

If you want to set a price filter for products in WooCommerce, there are two primary ways to do so:

  1. Using the default WooCommerce product filter widget
  2. The first way to set a price filter for products in WooCommerce is by using the default WooCommerce product filter widget. This widget comes with every installation of WooCommerce and can be added to any sidebar area on your site.

    To use the default WooCommerce product filter widget, follow these steps:

    PRO TIP: When setting a filter by price in WooCommerce, be sure to enter the prices in the correct format. Otherwise, the filter may not work correctly.
  3. Navigate to Appearance > Widgets in your WordPress dashboard.
  4. Find the Product Filters widget and add it to the sidebar area where you want it to appear.
  5. In the widget settings, select “Price” from the Filter type drop-down menu.
  6. Click Save.

Now, when shoppers visit your shop page, they’ll see a “Filter by price” option in the sidebar that they can use to narrow down their search results by price.

  1. Using the free WooCommerce Product Filter plugin

If you want more advanced filtering options than what’s available in the default product filter widget, you can use the free WooCommerce Product Filter plugin. This plugin adds a new “Filters” tab to your WooCommerce settings where you can configure advanced filtering options for products.

To use the WooCommerce Product Filter plugin:

  1. Install and activate the plugin. You can find instructions on how to install a WordPress plugin here.
  2. Navigate to WooCommerce > Filters (or go to WooCommerce > Settings > Products > Product Filters, if using an older version of WooCommerce).
    You should now see a new “Filters” tab where you can configure your filters.
  3. Click on “Add New Filter Group”. A new row will appear where you can configure your first filtering group. Give your group a name (e.g., “Price Range”), then select “Price” from the “Filter Type” dropdown menu.
Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.