Edit your review badge
Configure the compact star rating and review count you show on product cards and listings.
The review badge is the compact star rating and review count you place on product cards, collection pages and anywhere else you want a rating at a glance. You edit it in the review widget editor, with Review Badge selected in the widget dropdown.
For the editor itself, the preview and how saving works, see Customise review widget design.

Review Badge Settings
The stars
- Star display, which controls whether the badge shows the full rating, the stars alone, or stars with text.
- Alignment, Star style, Star size (px) and Star colour.
The text beside the stars
- Show text turns the text on or off.
- Text is the text itself, and accepts variables.
- Font size (px), Font weight and Font colour.
Behaviour
- Hide when there are no reviews, so a product with no reviews shows nothing rather than an empty rating. This is on by default and worth leaving on, because an empty rating reads as a bad rating.
- Link to reviews section, which makes the badge clickable and scrolls the shopper down to the reviews.
The text variables
The Text field accepts these variables. They are listed under the field in the editor, and you can click a snippet to add it:
| Variable | What it renders |
|---|---|
{{ average_rating_1_decimal }} | The average rating, to one decimal place. |
{{ average_rating }} | The average rating, to two decimal places. |
{{ n }} | The review count: reviews with a star rating. |
{{ total_n }} | The total review count, including reviews left without a star rating. |
The default is:
{{ average_rating_1_decimal }} ({{ n }} reviews)which renders as 4.3 (128 reviews).
You can write whatever reads best for your store. {{ n }} reviews alone drops the number, and Rated {{ average_rating_1_decimal }} by {{ n }} customers turns the badge into a sentence.
If some of your reviews have no star rating, use {{ n }} and {{ total_n }} together, for example ({{ n }} ratings, {{ total_n }} reviews). See Count only rated reviews in star averages.

