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.
Showing 13–24 of 36 results
-
Sale
Add to cart
JBL Tune 770NC
Original price was: $129.00.$99.00Current price is: $99.00. -
Add to cart
Microsoft Surface Pro 11
$1,199.00 -
Add to cart
Lenovo Tab P12
$349.00 -
Sale
Add to cart
Sony WH-1000XM5
Original price was: $399.00.$329.00Current price is: $329.00. -
Add to cart
Bose QuietComfort Ultra
$429.00 -
Add to cart
iPad Pro 13" (M4)
$1,299.00 -
Sale
Read more
Samsung Galaxy Tab S9
Original price was: $799.00.$649.00Current price is: $649.00. -
Add to cart
OnePlus 12
$799.00 -
Add to cart
Nothing Phone (2a)
$349.00 -
Add to cart
iPad Air 11" (M2)
$599.00 -
Add to cart
iPhone 15 Pro Max
$1,199.00 -
Sale
Read more
Samsung Galaxy S24
Original price was: $799.00.$699.00Current price is: $699.00.
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
- In Filter Sets → Add New, set Content to filter to Products.
- Add a filter row and use Rating for Filter name (shown to shoppers).
- Choose Custom field (number) under What are you filtering? and set Custom field key to
_wc_average_rating. - 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.