Supposing I have a product detail page on my shopping website where 2 seperate schema.org Product elements have been defined with JSON-LD:
<script type="application/ld+json">
{
"@context":"http://schema.org","@type":"Product","name":"Modern Cotton Thong",
"aggregateRating":{"@type":"AggregateRating","ratingValue":"4.84",
"reviewCount":"43"}
}
</script>
<script type="application/ld+json">
{
"@context":"http://schema.org","@type":"Product","name":"Modern Cotton Thong",
"price": 20.0,
"availability": "https://schema.org/InStock"
}
</script>
As you can see one of these has aggregateRating data and the other has price and availability information. Now let's assume there is no way to combine these into one element (because they came from different vendors).
One problem we are facing is when Google reads this, it is only picking up one and not the other. For example, our page will have price and availability but it will not have the stars and rating which come from AggregateRating on organic SERP.
Would it be possible to combine these two elements with an @id attribute?