Proviews ‑ Product Reviews Q&A
Legal Policies

Setup & Configuration

Additional Information

Installation Processes

Feature Policies & Guidelines

Displaying Product Ratings and Review Counts With Metafields
Apr 27, 2026
Overview
Shopify provides two standard review metafields — reviews.rating and reviews.rating_count — that expose your product's review data directly in your theme code. Use these Liquid accessors to display a product's average rating and total review count at any location on your storefront without relying on a widget block.
When to use this approach: Use metafields when you need precise, custom placement of rating data outside of standard widget blocks — for example, in a product card, a custom section, or a third-party theme layout where Proviews blocks are not directly available.
Metafield Reference Table
| Label | Liquid Accessor | Example Output |
| Average Rating | {{ product.metafields.reviews.rating.value }} | 4.75 |
| Review Count | {{ product.metafields.reviews.rating_count }} | 125 |
| Minimum Rating | {{ product.metafields.reviews.rating.value.scale_min }} | 1.0 |
| Maximum Rating | {{ product.metafields.reviews.rating.value.scale_max }} | 5.0 |
How to Add Metafields to Your Theme
1. In your Shopify admin, go to Online Store → Themes.
2. Under your active theme, click Actions → Edit Code to open the theme code editor.
3. Locate and open product.liquid (or the relevant product template file in your theme).
4. Insert the Liquid metafield code at your preferred location in the template file. Wrap each value with a descriptive label for context. For example:
Average Rating: {{ product.metafields.reviews.rating.value }} / {{ product.metafields.reviews.rating.value.scale_max }}
Total Reviews: {{ product.metafields.reviews.rating_count }}
5. Click Save, then preview a product page to verify the metafield values render correctly.
Rendering correctly? If you see the numeric values on your product page, the metafields are working. If nothing appears, confirm that the product has at least one published review in Proviews — metafields return empty values on products with no reviews.
Example Output on the Storefront
Here is how the metafield values appear when rendered on a live product page with descriptive labels:

Need Help?
Click “Help Me” and our chatbot will appear. You can then ask questions or request assistance in real time.
For email support, feel free to reach out to us at support@simprosys.com
Proviews ‑ Product Reviews Q&A
Legal Policies

Setup & Configuration

Additional Information

Installation Processes

Feature Policies & Guidelines
