How ratings reach the theme
Review apps write a product’s average rating into Shopify metafields. Elixir reads them automatically, so no code or app block is needed to show stars.
The
reviews namespace is Shopify’s standard. Judge.me, Loox, Okendo, Yotpo, Stamped, and Shopify’s own Product Reviews all write to it.
Step 1: Install and sync a review app
- Install your review app from the Shopify App Store.
- Import or collect your reviews.
- In the app’s settings, make sure the option to publish ratings to Shopify product metafields is enabled. App wording varies: “Shopify product rating metafield”, “sync ratings to Shopify”, or “star ratings in search and collections”.
Metafields only populate for products that actually have reviews. A product with zero reviews has no rating, and the theme falls back to the static value you configured.
Step 2: Turn on metafield ratings in the theme
Collection and product cards
Open the Collection Grid section in the theme editor:
With Use product metafield rating off, every product shows the same static number. That’s fine for a pre-launch demo and misleading on a live store.
Cart upsells
Upsell blocks in the cart drawer have their own Rating Source setting:
It defaults to Custom Text, so switch it to Product Metafield once your app is syncing.
Product page rating blocks
The product page rating blocks readcustom.rating and custom.rating_count. If those aren’t set, the block falls back to 4.7 and 137 reviews.
You have two ways to make this honest:
- Type your real numbers into the block’s text field, which overrides the metafield entirely.
- Populate the
custom.ratingmetafield on each product, either by hand or through your review app if it lets you choose the namespace.
Where ratings appear
Review sections are separate
Star ratings and review content are different things. The metafields above drive the stars. To display the review text itself, use one of the review sections (Customer Reviews, Reviews Carousel, Amazon Reviews, and so on) and enter the reviews manually, or place your review app’s own block. See the social proof guide for choosing between the review sections.Troubleshooting
My cards all show the same rating
My cards all show the same rating
Use product metafield rating is off, so every card is showing the static value. Turn it on in the Collection Grid section.
Stars disappeared after turning on metafield ratings
Stars disappeared after turning on metafield ratings
Cards only render stars when the product actually has a rating metafield. Products with no reviews yet show nothing. Check a product in Shopify admin under Metafields to confirm the value exists.
The product page still shows 4.7 (137)
The product page still shows 4.7 (137)
That block reads
custom.rating and custom.rating_count, not the reviews namespace your app writes to. Either type your real numbers into the block or create those custom metafields.My review app shows reviews but the theme shows no stars
My review app shows reviews but the theme shows no stars
The app is rendering its own widget without syncing to Shopify metafields. Find the metafield or “star ratings in collections” option in the app settings and enable it, then let it backfill.
The rating scale looks wrong
The rating scale looks wrong
The theme reads the scale from the metafield itself, so a rating stored out of 10 displays out of 10. Check what scale your app writes.
