Structured data that isn't valid JSON
Google skips a whole JSON-LD block when it can't be read as JSON.
What it means
One of the page's JSON-LD blocks isn't valid JSON, so Google ignores everything in it. Search Console lists these pages under "Unparsable structured data". The usual causes are a trailing comma, a missing comma between properties, an unescaped quote inside a product name or review, or a template tag that printed nothing where a value should be.
How to fix it
Find the block the checker points to and fix the JSON. In templates, print values with a JSON filter (in Shopify Liquid, | json) instead of placing them between quotes yourself, so quotes and line breaks in product names are escaped.
On Shopify
Watch for "name": "{{ product.title }}" in theme code: a title with a quote mark breaks the block. Write "name": {{ product.title | json }} instead.
Example
{
"@context": "https://schema.org",
"@type": "Product",
"name": "The "Everyday" mug",
"aggregateRating": { "@type": "AggregateRating", "ratingValue": 4.8, "reviewCount": 212, }
}
{
"@context": "https://schema.org",
"@type": "Product",
"name": "The \"Everyday\" mug",
"aggregateRating": { "@type": "AggregateRating", "ratingValue": 4.8, "reviewCount": 212 }
}
Check your page
Run your page through the checker to see whether this is the only thing standing between you and review stars.
Sources: Google's review snippet and product snippet documentation. Orankl isn't affiliated with Google.