WooCommerce Hide Empty Filter Options

WooCommerce hide empty filter options removes terms that have no matching products in the current selection context. In this electronics demo, choose Laptops and watch Brand terms with no laptop matches disappear. Available brands remain so shoppers can continue narrowing the catalog.

Try this: Pick Laptops and watch the result count drop while non-laptop brands disappear.

How this demo is configured

  • Create a filter by Category (taxonomy product_cat). Show as Checkboxes. Limit to the terms Headphones, Laptops, Monitors, Smartphones, Smartwatches and Tablets.
  • Create a filter by Brand (product attribute pa_brand). Show as Checkboxes. Show the first 6 terms, with a More toggle.
  • Options with no matches: hidden.
Filters
Category
Category
Brand
Brand

Showing 25–36 of 36 results

What counts as an empty option

The plugin checks each candidate Brand against the other active filters. Choose Laptops and the demo updates the Brand list to show which choices can still return products.

When to hide options without matches

Use this mode when shoppers should see only options that can still produce results after their other selections. It can prevent choices that lead to an empty result set.

Showing unavailable terms can also be useful if you want shoppers to know the full taxonomy. Choose hide, disable, or show based on the browsing experience you intend.

Choose the no-match behavior

  1. Edit the product Filter Set and locate When an option has no matching products.
  2. Choose Hide options with no matches to remove unavailable terms from filter lists.
  3. Save the set and test a category or other filter that narrows the available product pool.
  4. Check that selected terms remain understandable and that available choices match the products left in the catalog.

Frequently asked questions

Does hiding an option delete its taxonomy term?

No. The term remains in the taxonomy and can still be assigned to products.

Does availability include the candidate term itself?

No. The check uses other selected filters, then tests the candidate term against their results.