Liquid Metafields Namespaces
{{ product.metafields.reviewscouk.total }} - Total amount of reviews for the product
{{ product.metafields.reviewscouk.rating }} - Rating out of 5 for the product
{{ product.metafields.reviewscouk.static_product_widget }} - If enabled on the account, then we upload a product static SEO friendly widget
We also support reviews.rating and reviews.rating_count on both Product and Product Variant objects. Using Shopify’s Bulk Operation API, we backfilled our entire merchant catalogue to ensure all records are up to standard across the app.
We automatically push updated metafields whenever the following review events are triggered:
Review Created
Review Updated
The Product metafields are applied to parent Shopify products and contain the aggregated rating and total review count across all of a product’s variants.
The Product Variant metafields are applied to Shopify product variants and contain the rating and review count specific to that individual variant.
Our platform collects reviews at the SKU level. If multiple product variants share the same SKU within a product, we do not push variant-level metafields to avoid duplicating ratings.
Syndication Logic & Metafield Behaviour
The ratings and review counts pushed to Shopify respects REVIEWS.io syndication logic. If a merchant has variants with matching SKU values across separate storefronts and REVIEWS.io accounts, reviews are aggregated across those storefronts to push a shared rating and review count.
The behaviour of this data depends on the metafield being used:
Native Shopify Metafield (
reviews.rating): Supports syndication and reflects the shared, aggregated rating and review count.Reviews.io Metafield (
product.metafields.reviewscouk.total): Does not support syndication. This field reflects data specific to the individual REVIEWS.io account and does not include aggregated data from other storefronts.
Instructions ⚙️
To add REVIEWS.IO metafields to your theme code, please follow these steps:
Go to Shopify Admin > Online Store > Themes.
Click the Actions button next to your current theme and choose Edit code. (In newer Shopify versions this may appear as a ⋯ or options menu instead of an Actions button — look for it alongside the Customize button.)
Locate the product.liquid file. If you're using an Online Store 2.0 theme (such as Dawn), this file may not exist — instead, look in the sections/ folder for a file named main-product.liquid or similar.
Add Liquid code to display your metafields. Use the snippets below as a reference.
Save and go check any product in your store.
You can reference the following metafields individually in your template:
{{ product.metafields.reviewscouk.total }} {{- /* Total number of reviews */}}
{{ product.metafields.reviewscouk.rating }} {{- /* Average rating out of 5 */}}
{{ product.metafields.reviewscouk.static_product_widget }} {{- /* Static SEO widget (if enabled) */}}Or use a conditional block to only display rating data when it's available:
{% if product.metafields.reviewscouk.rating %}
{{ product.metafields.reviewscouk.rating }}
({{ product.metafields.reviewscouk.total }} reviews)
{% endif %}If you have any concerns, contact us via the live chat and we'll help you.
SEO & Server-Side Rendering
If you need review content to be crawlable by Google — for example, when reviews are placed inside a collapsed accordion or dropdown — you can use Reviews.io metafields to render content server-side directly in your Liquid template. Unlike the standard JavaScript widget (which loads client-side and may not be visible to search crawlers), metafield output is present in the initial HTML response on page load.
Using static_product_widget for SEO
The static_product_widget metafield contains a static, SEO-friendly HTML widget that Reviews.io writes directly to Shopify. When you output it in your Liquid template, the review content is included in the server-rendered HTML — making it indexable by Google even inside hidden or collapsed elements.
To use it, reference the metafield directly in your Liquid template:
{{ product.metafields.reviewscouk.static_product_widget }}Note: The static product widget must be enabled on your account for this metafield to be populated. Contact our support team to confirm or enable it.
Using rating metafields for custom schema markup
You can also use the rating and review count metafields to build your own JSON-LD (Schema.org AggregateRating) directly in your Liquid template. Because these values are rendered server-side, they are available to crawlers without relying on JavaScript:
{{ product.metafields.reviewscouk.rating }} — average rating out of 5
{{ product.metafields.reviewscouk.total }} — total number of reviews
Important SEO caveats
The standard Reviews.io widget script only loads after a visitor accepts marketing cookies — meaning search crawlers may not see schema injected via the widget script. Using metafields in Liquid avoids this issue entirely.
Watch for duplicate product schemas on the page. If multiple Schema.org Product objects are present, Google may discard the review data. Ensure only one product schema exists per page.
Metafields are updated automatically when reviews are created or updated, so the server-rendered content stays current without manual intervention.

