Duplicate Structured Data/Schema Content?

29 0 0

This is an issue I haven't seen discussed before in the forums -- I'm adding structured data to the HTML of my product pages. When I use Google's Structured Data Testing Tool I'm getting duplicate content in regards to "AggregateRating". 


This is because I've already manually included "AggregateRating" in the HTML based on the product reviews, but Shopify pulls it from a metafield:

{{ product.metafields.spr.reviews }}

All I need to do is find out how to remove this code which is generated from the metafield:

itemscope itemtype="http://schema.org/Product"

Since I've already manually assigned the Product Schema in HTML I just need to find out how to remove that.