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 25–36 of 36 results
-
Add to cart
Samsung Galaxy S24 Ultra
$1,299.00 -
Sale
Add to cart
Google Pixel 8
Original price was: $699.00.$549.00Current price is: $549.00. -
Add to cart
Google Pixel 8a
$499.00 -
Add to cart
Microsoft Surface Laptop 7 (13.8")
$1,199.00 -
Add to cart
HP Spectre x360 14
$1,449.00 -
Sale
Read more
Acer Swift Go 14
Original price was: $849.00.$699.00Current price is: $699.00. -
Add to cart
iPhone 15
$799.00 -
Add to cart
MacBook Pro 14" (M3 Pro)
$1,999.00 -
Sale
Add to cart
Dell XPS 13 (9340)
Original price was: $1,199.00.$1,049.00Current price is: $1,049.00. -
Add to cart
Lenovo ThinkPad X1 Carbon Gen 12
$1,649.00 -
Sale
Add to cart
ASUS ROG Zephyrus G14 (2024)
Original price was: $1,599.00.$1,399.00Current price is: $1,399.00. -
Sale
Add to cart
MacBook Air 13" (M3)
Original price was: $1,099.00.$999.00Current price is: $999.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.