Review schema markup in ratings element

Hello,

I don’t understand why i’m getting the error: “Either “offers”, “review”, or “aggregateRating” should be specified.”

Screenshot included in secure note.

Should this aggregateRating not already be included or how would i resolve this using the cornerstone generated schema?

Hey @fxground,

I have replicated the issue in my test site so this could be a bug or a lacking feature. I’ll list this in our issue tracker so this will be queued for further investigate.

For now, please turn off the schema option because you need to write your own schema. Follow the Product Schema guide here: https://schema.org/Product or use the sample below which doesn’t have the error.

{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Product Name",
  "image": "https://example.com/product-image.jpg",
  "description": "A short description of the product",
  "sku": "12345",
  "brand": {
    "@type": "Brand",
    "name": "Brand Name"
  },
  "review": {
    "@type": "Review",
    "reviewRating": {
      "@type": "Rating",
      "ratingValue": "4.5",
      "bestRating": "5"
    },
    "author": {
      "@type": "Person",
      "name": "Reviewer Name"
    }
  }
}

thanks, looking forward to seeing this in a future release. would be sooo helpful.

Hi @fxground,

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.