Either "offers", "review", or "aggregateRating" should be specified Fix

aliejaz
New Member
2 0 1

Hi everyone, I am new to Shopify. i was trying to put the code for fixing this error, mentioned above. but I can't find a place in the store to put it.

I tried putting it in Default-Product.liquid and product.liquid.

This is the code. please check if this can help to fix my problem. Where can I put the code so that all my products get it by default. 

or if I have to put one by one to the products, how can I find the backend code for the specific product.

      "review": {

        "@type": "Review",

        "reviewRating": {

          "@type": "Rating",

          "ratingValue": "4",

          "bestRating": "5"

        },

        "author": {

          "@type": "Person",

          "name": "Fred Benson"

        }

      },

      "aggregateRating": {

        "@type": "AggregateRating",

        "ratingValue": "4.4",

        "reviewCount": "89"

      },

MS-WEB-DESIGNER
Shopify Partner
2789 175 469
0 Likes
aliejaz
New Member
2 0 1

cant it be done with custom code

0 Likes