WooCommerce Filter Term Sorting by Product Count

WooCommerce filter term sorting orders choices inside a taxonomy filter, so shoppers can find common options quickly. This electronics demo puts Brand terms with the most assigned products first. Open the list and compare the order with the product counts.

Try this: Open Brand; the order follows product count, so Apple comes first.

How this demo is configured

  • Create a filter by Brand (product attribute pa_brand). Show as Checkboxes. Sort terms by Posts count (high to low). Show the first 6 terms, with a More toggle.
Filters
Brand
Brand

Showing 13–24 of 36 results

How term sorting orders a filter list

The demo uses Posts count to place Brand terms with more assigned products first. Other term sort options include name, term ID, and menu order. Choose the sequence shoppers can scan quickly.

When product-count order is useful

Product-count order surfaces terms with broad catalog coverage earlier in a long list. Choose menu order when the store needs a deliberate sequence for its Brand options.

Set the order for taxonomy terms

  1. Edit the taxonomy filter in a product Filter Set.
  2. Open Advanced (optional) and find Sort terms by.
  3. Choose Posts count to put higher-count terms first, or select another available order.
  4. Save the set and check the list. Confirm that the option order matches the chosen sort.

Term order and product order are separate

The Brand filter order is a property of its taxonomy list. The catalog sort control is a separate feature that orders the products themselves, for example by price or rating.

Use the demo to see Apple at the start of the count-sorted term list, then use the related product sorting dropdown to compare a change in product order.

Frequently asked questions

Does the highest count mean the most popular brand?

No. It counts products assigned to a term, not shopper preferences.

Can I set a fixed order for Brand terms?

Yes. Choose Menu order and set the taxonomy term order in WordPress.