> For the complete documentation index, see [llms.txt](https://docs.globo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.globo.io/filters/filter-options/show-rating-stars-in-filter-sidebar.md).

# Show rating stars in filter sidebar

Turn your review app's product rating into a star-rating filter option, so shoppers can narrow results down to highly-rated products.

## What this does

Review apps write each product's average rating to a product metafield — this page turns that metafield into a filter option displayed as star ratings, so shoppers can filter down to (for example) 4 stars and up, the same way they'd filter by Color or Price.

## Prerequisites

* A [supported review app](/app-integrations/product-review-apps.md) installed and already collecting ratings on your products.
* That review app's integration turned on in **Settings > Integration** — this is what makes its rating metafield available to the filter, not just displayed on the storefront.

## Steps

1. In the app, go to **Filters** and open the filter you want to add ratings to (or [create one](/filters/configure-filter-sidebar.md)).
2. Click **Add filter option** (or edit an existing one).
3. In **Source**, search for your review app's rating metafield — the exact path depends on which review app you use (for example, Stamped's is `product:metafield:stamped:reviews_average`); check your review app's own metafield documentation if you're not sure which one to pick.
4. Set a **Label** (e.g. "Rating") and set **Display type** to **Rating**.
5. Click **Save**.

![Rating filter option — Source set to a review app's metafield, Display type set to Rating](https://2009335375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKmtdB4I84W3J8hc91H4S%2Fuploads%2Fgit-blob-e0f1d14acb7de0438f13cab4d1231ab1cf7ba411%2Ffilter-panel-rating-preview.png?alt=media)

If the option doesn't pick up any values, re-check that your review app is writing ratings to the product metafield the app reads, then run [Sync Product Data](/getting-started/sync-product-data.md).

## Related pages

* [Product review apps](/app-integrations/product-review-apps.md)
* [Configure filter options](/filters/filter-options/configure-filter-options.md)
* [Filter products by metafield](/filters/filter-options/filter-products-by-metafield.md)
