Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
SpaceAnderson

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

Recommended Posts

Is anyone getting this error from Google Search Console?  

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

Looking into it I found some workarounds in other CMS but not for Squarespace. 

Any answers or workarounds? 

 

Thanks!

Share this post


Link to post

You're seeing this message because Google is looking for markup on a product page so they can provide detailed information like price, availability, and review ratings in their search results. Recommended properties include a nested aggregateRating of the product, an offer to sell the product and a nested review.

Google offer more information about this in their developer docs for structured data. They explain how to provide this data and provide a structured data testing tool so you can test the code before adding it. Right now, you can only do this manually, but this is obviously not helpful. It is something you want Squarespace to create automatically. Some fields are already created (price, currency, stock level) but not the ones mentioned above.

You can provide feedback about this to Squarespace by raising a ticket through Customer Care. They'll document your feature request and share it with the appropriate team.
 


If anyone's response has helped you, click the like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png icon (bottom-right) to show them some appreciation. If their response didn't help, ask for more help, or wait for users to chime in. 
Need more help than I can provide via the forum? I'm a professional Developer who works with Designers internationally. You can book me via my company's website.

Share this post


Link to post

I am all of a sudden having this same issue.    I've tried everything and can't get these errors to disappear and it's throwing my site down on the search returns.  

Is there no resolve for this? 

Share this post


Link to post

So I think I identified the issue on my site using Google's structured data validation tool.  (Link to one of the impacted pages).

It appears the template I'm using (Moksha) is causing two 'product' structured data items to appear to Google for a page which should only have one, the second of which is causing this error.

<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:product="http://ogp.me/ns/product" lang="en-US" itemscope itemtype="http://schema.org/Product">
  ...
<meta itemprop="name" content="Sensory Deprivation Tank —  Indigo Aire Spa & Wellness Center"/>
<meta itemprop="url" content="https://www.indigoaire.com/spa/sensory-deprivation-tank"/>
<meta itemprop="description" content="$60 for 1 Hour Float Session  $165 for three 1 Hour Float Sessions  Call for package specials  Choose options below to view pricing."/>
<meta itemprop="thumbnailUrl" content="http://static1.squarespace.com/static/5a1f2b5c8c56a86c49a38f90/5dbb3d8dce132b64c58d7833/5dbb42576f8b1269bc242f03/1572725664375/y.png?format=1500w"/>
  

The lines above are, I believe, the culprit. These <meta itemprop...> tags seem to be the second 'product' structured data item which has no 'offers, reviews, or aggregateRating' specified, and which is causing the error. I found it because one of the warnings I was getting (and still am) was about the 'product' structured data type not containing a 'thumbnailUrl' property. 

Quote

The property thumbnailUrl is not recognized by Google for an object of type Product.)

I found a potential workaround, which doesn't seem to be breaking anything, but some input from someone who knows more about it than myself would be good. I haven't done any work with these structured data types before, and my practical web design knowledge is about 10 years out of date. One of the pages which Google showed this error for has validated, and a second one is pending. For some reason, the error only showed up in the search console for two of the pages, though the data validation tool showed it for all the product pages I tested.

What I did was inject these lines into the header from the products page. (Click on the products page in the 'pages' tab, hit the 'product settings' menu, and hit 'advanced', and 'page header code injection')

<div style="display:none;" itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer">
    <span itemprop="lowPrice">40</span>
    <span itemprop="highPrice">240</span>
    <span itemprop="priceCurrency">USD</span>
</div>

This is specifying 'offers' for the second product and thus fixing the error that Google sees on the page. As far as I can tell, these numbers aren't changing anything with the main product Google sees, and which is showing up in the search results, so they can be anything. The ones I have here just happen to be low and high price for another service offered, but since this is code injected a level up from the individual products, you can't specify the amount on an individual level anyways.

Hopefully the error I found is what is affecting everyone else, and hopefully it will help squarespace fix it so that we don't have to use such workarounds. In the meantime, someone else may find a better workaround than this, if this is indeed what was causing the problem for others. Ideally, I think, the second 'product' structured data item specified by the <meta itemprop...> tags above would be deleted completely, but I don't think that's possible to do as a user.

Edited by Peteys93

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...