Shopify Metafields are a useful way to store basic review information. While Metafields aren't required, they're often recommended because they let key data load alongside your Shopify theme. Follow this guide to learn more!
Key notes
- For more information on Shopify Metafields, please take a look at Shopify's guide linked here
In this guide
Enabling metafields
You can enable Shopify Metafields sync directly from your dashboard. Simply navigate to Dashboard > Settings > Syndication > Shopify Metafields to turn it on. If you're using Shopify's Metafields in your theme's Stamped code and need help setting things up, feel free to reach out to our support team at support@stamped.io.
Available metafields data
Here are the Liquid metafield namespaces:
| {{ product.metafields.stamped.reviews_average | round:2 }} | Returns the product's review aggregate rating |
| {{ product.metafields.stamped.reviews_count }} | Returns the product's total review count |
| {{ product.metafields.reviews.rating.value }} | Returns the product's reviews aggregate rating (New namespace) |
| {{ product.metafields.reviews.rating_count.value }} | Returns the product's reviews total count (New namespace) |