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.
Showing 1–12 of 36 results
-
Add to cart
Dell UltraSharp U2723QE
$579.00 -
Sale
Add to cart
LG UltraFine 27UP85
Original price was: $449.00.$379.00Current price is: $379.00. -
Add to cart
Samsung Odyssey G7 28"
$699.00 -
Read more
ASUS ProArt PA279CRV
$469.00 -
Read more
Apple Watch Series 9 (45mm)
$429.00 -
Add to cart
Apple Watch Ultra 2
$799.00 -
Sale
Add to cart
Samsung Galaxy Watch 6 Classic
Original price was: $399.00.$329.00Current price is: $329.00. -
Add to cart
Garmin Forerunner 265
$449.00 -
Add to cart
Google Pixel Watch 2
$349.00 -
Sale
Read more
Apple AirPods Pro (2nd gen)
Original price was: $249.00.$199.00Current price is: $199.00. -
Add to cart
Sennheiser Momentum 4
$349.00 -
Add to cart
Sony WF-1000XM5
$299.00
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
- Edit the taxonomy filter in a product Filter Set.
- Open Advanced (optional) and find Sort terms by.
- Choose Posts count to put higher-count terms first, or select another available order.
- 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.