WooCommerce Product Rating Filter by Star Threshold

A WooCommerce product rating filter sets a minimum star score, so shoppers can focus on products with higher average ratings. This electronics demo offers “4 stars & up” and “3 stars & up.” Pick a threshold and see how many products meet it here.

Try this: Choose a star threshold and watch the electronics count change.

How this demo is configured

  • Create a filter by Rating (custom field _wc_average_rating). Show as Star rating.
Filters
Rating
Rating

Showing 13–24 of 36 results

How star thresholds match products

The demo turns the average rating field into threshold choices. A 4-star selection includes products rated 4 or higher; a 3-star selection includes products rated 3 or higher. The control is not an exact-equals rating selector.

Choose one threshold and check the result count. This helps shoppers set a minimum rating instead of browsing each product one at a time.

When to use a product rating filter

Use rating thresholds when shoppers want to set a minimum review score. This can make a large product list easier to scan for buyers who want to prioritize rated products.

WooCommerce stores the average rating for each product. Choose a threshold that matches the review scores shoppers want to prioritize.

Add a star rating control

  1. In Filter Sets → Add New, set Content to filter to Products.
  2. Add a filter row and use Rating for Filter name (shown to shoppers).
  3. Choose Custom field (number) under What are you filtering? and set Custom field key to _wc_average_rating.
  4. Under How shoppers choose, select Star rating. Place the set on a product archive and test the available thresholds.

Thresholds differ from sorting by rating

Set a minimum rating, then use the sorting dropdown to order matching products by price or date. The threshold narrows the result set; sorting arranges the products that remain.

Frequently asked questions

Does 4 stars mean exactly four stars?

No. The demo option means 4 stars and up, so products meeting or exceeding the threshold can match.

What does the rating filter use?

It uses WooCommerce average rating data from the average rating field.