Either "offers", "review", or "aggregateRating" should be specified - Google Error

Highlighted
Tourist
11 0 5

I have a related problem but cannot find the cause. 

Shopify Product Reviews is installed on my Impulse Theme from Archetype.

 

So on my product pages, the aggregaterating displays a "ratingValue" of 0 and a "reviewCount" of 0

 

"https://vain.store/products/paris",

"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "0",
"reviewCount": "0"

 

Triggering 2 errors in my google search console.

I've ran a structured testing tool but have no clue why this is caused. Can someone support me with this issue?

image.png

 

0 Likes
Highlighted
Shopify Partner
323 8 55

When you have no reviews, the aggregatedRatings needs to be removed as a value of zero is not allowed.

 

If you like a complete correct code consider: easy to install structured data

 

Make sure to remove any old structured data to avoid conflict.

I'm a Google Shopping Specialist & a Google Ads Gold Product Expert - Specialized Data Feed Management Tool (DIY/Managed)
0 Likes
Highlighted
Tourist
29 0 1

Hi,

I still didnt fix issue.I dont unbdertstand what you have said to fix the issue.can you please tell how to avoid this errorgully3.png

0 Likes
Highlighted
Shopify Partner
323 8 55

Please remember that the search console is a historical reference. If you have correctly installed the code and removed all old structured data. You will see the number of issues drop. This can take up to 30 days.

 

If you need help resolving the issue, consider contacting your theme developer, a Shopify partner, or you can also contact me for help.

I'm a Google Shopping Specialist & a Google Ads Gold Product Expert - Specialized Data Feed Management Tool (DIY/Managed)
0 Likes
Highlighted
Shopify Partner
364 28 47

@Akhilkotha96 

As, I have already told you those errors and warning displaying because of the below reason.

Well, I have checked a few product links from your store and I found there are 4 warning displays. Among them, The rating issue will be not fixed because you have not used any product review app on your site. However, If you installed the app then I can display a review of that app in Google or If you don't want to add a review app then I can display static review into that code.

Reference Link:
https://search.google.com/test/rich-results?id=Lo_qfNgwWh6hQsHEzXeFaQ
https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fwww.gullylivefast.com%...
https://www.screencast.com/t/cfZhD2CZgoky

Moreover, the same issue shows on the deal page because you have added product there and theme is loading the same product code that is included in the product page so it is throwing that error. https://prnt.sc/sb2wm5

Now if you want to fix the error then let me know here or email or skype.

Thanks & Regards
Akshay Vaghasiya

Shopify Expert | Skype: akshayvaghasiya84
 - Like and Mark as an Accepted Solution if my reply helpful
 - Feel free to contact me on akshayvaghasiya84@gmail.com for any queries
 - Want to modify or custom changes on store hire me .
0 Likes
Highlighted
Tourist
29 0 1

Hi Akshay Vaghasiya,

 

Yes,can you please fix this error.

 

 

 

0 Likes
Highlighted
Shopify Partner
364 28 47

@Akhilkotha96 

Of course, I can fix the error but for that, I need fewer details so can you give me your mail ID so I can email you with the information.

Thanks & Regards
Akshay Vaghasiya

Shopify Expert | Skype: akshayvaghasiya84
 - Like and Mark as an Accepted Solution if my reply helpful
 - Feel free to contact me on akshayvaghasiya84@gmail.com for any queries
 - Want to modify or custom changes on store hire me .
0 Likes
Highlighted
Tourist
29 0 1

My mail id is akhil.kotha@c2stechs.com

0 Likes
Highlighted
Shopify Partner
364 28 47

@Akhilkotha96 

Thank you for providing detail now check your email.

Thanks & Regards
Akshay Vaghasiya

Shopify Expert | Skype: akshayvaghasiya84
 - Like and Mark as an Accepted Solution if my reply helpful
 - Feel free to contact me on akshayvaghasiya84@gmail.com for any queries
 - Want to modify or custom changes on store hire me .
0 Likes
Highlighted
Tourist
11 0 5

Fixed my problem with a workaround replacing the original aggregaterating by the following:

 

"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": {{ product.metafields.spr.reviews | split: '"ratingValue": "' | last | split: '"' | first | plus: 0 }},
"ratingCount": {{ product.metafields.spr.reviews | split: '"reviewCount": "' | last | split: '"' | first | plus: 0 }}
},

2 Likes