> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/volume-themes/collections-and-products/product-page/product-rating.md).

# Product Rating

Show star ratings from your review app on product cards and on the product page. Volume reads Shopify's standard rating metafields, so any compliant app works.

A row of stars is the cheapest persuasion on a product page. It takes no copywriting, no photography and no discount — and shoppers read it before they read anything you wrote. Volume displays those stars on product cards and on the product page itself, pulled straight from whichever review app you use.

The theme only **shows** ratings. Collecting reviews, emailing customers and moderating what gets published is the review app's job.

***

## How it works

Shopify has two standard product metafields for ratings: `reviews.rating` (the average score and the scale it is out of) and `reviews.rating_count` (how many reviews that average is built on). Well-behaved review apps write to those two fields, and Volume reads them.

That is the whole integration. There is no app-specific code in the theme, which means:

* Any review app that uses the standard metafields works out of the box — no setup beyond installing it.
* An app that keeps ratings only in its own private metafields shows nothing through the theme. Use that app's own blocks and embeds instead.
* Switching apps later changes nothing in the theme, as long as the new app writes to the same fields.

{% hint style="info" %}
**Check this before you commit to an app.** Its listing or help docs should say it syncs ratings to Shopify's product metafields, or mention "product rating metafield" / "Shopify standard metafields". If you cannot find the claim, assume it does not.
{% endhint %}

***

## How to set it up

{% stepper %}
{% step %}

### Install a review app

Pick one from the Shopify App Store — Judge.me, Loox, Okendo, Yotpo and Air Reviews all write to the standard metafields. Install it and finish its own onboarding.
{% endstep %}

{% step %}

### Collect or import reviews

Let the app gather reviews, or import the ones you already have from your old platform. Until a product has at least one published review, its rating metafield is empty and the theme has nothing to show for it.

After an import, give the app a few minutes to write the values across. A rating that is live in the app's dashboard but missing on the storefront is almost always still syncing.
{% endstep %}

{% step %}

### Turn the stars on in product cards

In the Theme Editor, open a template that shows product cards — a collection page, for instance. Select the section, open its **Product card** group and tick **Show rating**.

This setting belongs to the section, not to the theme, so repeat it in every section where you want stars. See the table below for where they are.
{% endstep %}

{% step %}

### Add the block to the product page

Open a product template, select the **Product overview** section and click **Add block**. Choose **Product rating** and drag it where you want it — directly under the product title is the usual place.

The same block exists in the **Featured product** section and in **Quick view**, so add it there too if you use them.
{% endstep %}

{% step %}

### Set the star colour

Go to **Theme settings → Colors**, open the colour scheme you use, and find **Rating** under the **Extras** heading. It is black by default.

The colour lives inside the scheme, so a section on a dark scheme can have light stars while the rest of the store keeps black ones.
{% endstep %}
{% endstepper %}

***

## Where to switch it on

| Where the stars appear                               | What to set                                             |
| ---------------------------------------------------- | ------------------------------------------------------- |
| Collection grid                                      | **Product grid → Product card → Show rating**           |
| Featured products, Featured collections, Sticky grid | section **→ Product card → Show rating**                |
| Product recommendations, Recently viewed             | section **→ Product card → Show rating**                |
| Search results, Cart drawer, Cart recommendations    | section **→ Product card → Show rating**                |
| Quick view                                           | **Quick view → Product card → Show rating**             |
| Product page                                         | **Product overview →** add the **Product rating** block |
| Featured product section                             | add the **Product rating** block                        |

There is deliberately no single global switch: stars help on a collection page and clutter a cart drawer, so each surface decides for itself.

{% hint style="success" icon="lightbulb" %}

### Good to know

* **Products without a rating show nothing at all.** No greyed-out stars, no "0 reviews" line — the whole element disappears. A freshly launched product never looks badly reviewed, it just looks quiet.
* **Partial stars are real.** A 4.3 average renders as four full stars and a partially filled fifth, with the number shown next to it as `4.3 / 5`. The scale comes from the app, so an app rating out of 10 displays out of 10.
* **The review count sits next to the stars** and switches between *review* and *reviews* by itself.
* **On the product page the stars are a link.** Clicking them scrolls down to the review widget on the same page. The theme looks for your app's reviews block by its ID, so if that block is not on the template, the stars are still correct — the click simply does nothing. Add the app's full review block somewhere further down the page and the jump starts working.
* **On cards the stars are not clickable.** The whole card already links to the product.
* **Testimonials is a different thing entirely.** The [Testimonials](https://staylime.com/docs/volume-themes/theme-sections/trust-and-social-proof/testimonials.md) section has its own **Show rating** setting and a **Stars** slider inside each block, typed in by hand. It needs no review app and is not connected to these metafields — it is for curated quotes, not automatic averages.
* **Uninstalling a review app usually takes its data with it.** The metafield values belong to the app, so the stars disappear when it goes. Export your reviews before you switch.
  {% endhint %}

***

## Customization ideas

* **Put the block right under the title.** Stars read as part of the product's identity there, and they are in view before the shopper reaches the price.
* **Match the stars to your accent colour** instead of leaving them black. The **Product rating** block also has a **Text style** setting, so the score and the review count can be set in a caption or subheading style to sit quietly next to the stars.
* **Switch stars off where they add noise.** The cart drawer and cart recommendations are past the point of persuasion; a clean cart converts better than a decorated one.
* **Pair automatic stars with curated quotes.** The average answers *is this good?*; a Testimonials section below answers *good how?*
* **Use the block's Top spacing and Mobile top spacing** to tighten the gap under the title on phones, where every vertical pixel costs you.

## Best practices

* **Turn the stars on only once you have reviews.** A store where three products out of forty show ratings reads as neglected. Import or collect first, switch on second.
* **Keep one review app.** Two apps writing to the same metafields overwrite each other, and the number on the card stops matching the reviews underneath it.
* **Show the count, not just the score.** A 5.0 from one review and a 4.6 from four hundred are very different claims, and shoppers know it.
* **Check the stars against a dark colour scheme.** Black stars on a dark section vanish — that is the most common reason stars "are not showing".
* **Do not fake ratings.** Most markets treat invented reviews as misleading advertising, and Shopify's app ecosystem is built around verified purchases for exactly this reason.

## Related

* [Product Cards](https://staylime.com/docs/volume-themes/collections-and-products/product-page/product-cards.md) — the rest of what a card can show
* [Product Page](https://staylime.com/docs/volume-themes/collections-and-products/product-page.md) — layout of the Product overview section
* [Testimonials](https://staylime.com/docs/volume-themes/theme-sections/trust-and-social-proof/testimonials.md) — hand-written reviews with manual stars


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://staylime.com/docs/volume-themes/collections-and-products/product-page/product-rating.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
