---
title: "Klaviyo Reviews metafields for Shopify reference"
description: "Learn how to use metafields to customize Klaviyo Reviews content on your site. Metafields are Shopify’s tool for storing custom variables for use across your site, including on product pages."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/23730830399515"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/23730830399515.md"
locale: "en-us"
category: "Reviews"
section: "Build and use reviews"
updated: "2026-10-29"
---

# Klaviyo Reviews metafields for Shopify reference

## You will learn

Learn how to use metafields to customize Klaviyo Reviews content on your site. Metafields are Shopify’s tool for storing custom variables for use across your site, including on product pages. 

**📝 Note:** This resource is intended for developers. Using custom code to display Shopify metafields requires familiarity with [Liquid](https://www.shopify.com/partners/blog/115244038-an-overview-of-liquid-shopifys-templating-language), Shopify’s templating language. You can display reviews on your site without coding by using the [customizable review widgets](https://help.klaviyo.com/hc/en-us/articles/16691401577883.md).

Klaviyo Reviews metafields for Shopify are enabled by default. Metafields are not available for WooCommerce.  

## About review metafields

Adding a metafield expression to your theme’s Liquid code displays its value. If you add {{ product.metafields.reviews.rating.value.rating }} to your product page’s Liquid code, and that product’s rating is 4.7, “4.7” will appear in place of the metafield upon page load. 

You can also use metafields for more complex work, including: 

- Allowing other Shopify apps to access and use Klaviyo Reviews data on your site.

- Dynamically displaying content for products with certain ratings using conditionals.

- Coding your own star rating display, rather than using the Klaviyo Reviews star rating widget.



In your *Shopify Product metafields definitions* page, the Klaviyo Reviews metafields are named *Product rating count* and *Product rating*.

## Add review metafields with the theme editor

If your [theme supports adding metafields](https://help.shopify.com/en/manual/online-store/themes/theme-structure/sections-and-blocks#metafields-and-dynamic-sources), use the dynamic source icon to add reviews metafields. Adding reviews metafields with the theme editor is supported in the product info section of a product page. 

1. In Shopify’s theme editor, navigate to a product page. 

2. Open (or add) a field that supports text. 

3. Select the dynamic source icon.




![The dynamic image icon](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/397d0ed4927b65dd496a1bfe7904e07805ce5df3-125x125.png?auto=format)

4. Select a reviews metafield.




![Reviews metafields options](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/9df8f6c6ddc332c9ff4f377a102cd4a909270f71-1200x670.png?auto=format)

5. Click **Save**.



## Add review metafields with custom Liquid

The following metafields can be used on product pages and within product objects (e.g., within a product tile on a collection page). They are not supported outside of product objects (e.g., your *About* page). 

| **Metafield** | **Content** | **Data type** |
| --- | --- | --- |
| {{ product.metafields.reviews.rating.value.rating }} | A product’s average rating. | Float (e.g., 3.5, 4.7) |
| {{ product.metafields.reviews.rating_count }} | The number of ratings submitted for a product. | Integer (e.g., 10, 45, 721) |
| {{ product.metafields.reviews.rating.value.scale_min }} | The lowest possible rating (i.e., 1). | Integer; always 1 |
| {{ product.metafields.reviews.rating.value.scale_max }} | The highest possible rating (i.e., 5). | Integer; always 5 |

## Disable review metafields

Review metafields are enabled by default. To disable metafields: 

1. Navigate to the **Reviews** tab in Klaviyo. 

2. Select **Reviews settings**. 

3. Select **General**. 

4. Under **Shopify**, toggle off the setting labeled **Sync review metafields to Shopify**. 

5. Click **Save changes**.

## Additional resources

- [How to customize review widgets](https://help.klaviyo.com/hc/en-us/articles/16691401577883.md)
  Learn how to customize the appearance of your review widgets (e.g., the blocks on your store that display and accept product reviews). 
- [How to use custom CSS to style Klaviyo Reviews widgets](https://help.klaviyo.com/hc/en-us/articles/22192640532507.md)
  Learn about custom CSS for Klaviyo Reviews, including how to implement some basic use cases. For more advanced use cases, head to our developer resource on custom CSS for Klaviyo Reviews. Most widget customization can be implemented using drag and drop editors; CSS is only required for advanced use cases. 
