structured data items are invalid

#136296
  • Resolved cps974
    Rank Math pro

    Hi,

    all out of stock product pages and product category pages do not pass the tests with SEMrush and the Google tool:
    A value for the aggregateRating ou offers ou review field is required.

    Can you help me solve this problem?

    Thanks!
    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    The offers schema is automatically generated when you add the price to your products.

    For the review and aggregateRating, Rank Math takes the Schema data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.
    reviews

    If you don’t have any reviews yet, that is going to show up as a warning in the Schema testing tool. That’s because Google will actually look for those fields.

    Please acquire some reviews and ratings to get rid of the aggregateRating and review warnings.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Many thanks for your support.
    Now i understand my issue, price doesn’t show if out of stock, i will fix it.

    Have a good day

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘structured data items are invalid’ is closed to new replies.