x

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

Came across errors on google search console for weebly products. 12 products in total with errors. This may be a weebly schema product mark-up that needs to be fixed. Any ideas?

Submitted a ticket

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

image

image

8,388 Views
Message 1 of 32
Report
31 REPLIES 31
Square

Hi @mansour Does it give you any specific information on which products are affected? It looks like you have 15 total products, but the screenshot is indicating 12 have errors. It would be interesting to know if it is the zero dollar products (3) that do not have any errors..

6,925 Views
Message 6 of 32
Report

Yes its the zero dolloar products are not effected for some reason. The other 12 products have a dollor value.

6,921 Views
Message 6 of 32
Report

Correction, it's a combination of both. Last week it was 4 products with errors. as google crawls the website more products are appearing with errors

6,919 Views
Message 6 of 32
Report
Square

Hm.. well that makes it a bit more tricky. And Google does not specify what products just that there's 12 total? 

6,919 Views
Message 6 of 32
Report

I am having trouble with this as well
6,887 Views
Message 18 of 32
Report
Square

Hi @geanmitch Can you please submit a ticket to support? This is something that may need to be looked at by advanced support. Scroll to the bottom of our help center for the blue Contact Us button. Thanks!

https://www.weebly.com/app/help/us/en

6,883 Views
Message 18 of 32
Report

I already submitted a ticket @geanmitch and the reponse was they are aware of it

6,882 Views
Message 18 of 32
Report
Square

Thanks for confirming! 

6,881 Views
Message 18 of 32
Report

I'm having this problem too, but also another one:

Missing field "name"

this has been going on for some time so I'm hoping a solution is imminent.

Thanks to those who submitted a full bug report.

Judi

6,832 Views
Message 18 of 32
Report
Square

Hi @ArtByJLM Can you please post a screenshot of the error you see? 

5,555 Views
Message 18 of 32
Report

Hi Bernadette - as follows - I also expanded it to show the warnings too. I hope this is helpful - please let me know if further information would be useful.

imageimageimage

5,549 Views
Message 18 of 32
Report
Square

Thanks for the screenshots. It looks like a previous commenter stated that they had a ticket with support and that they were aware of it. Let me see if I can find out some more information, though. 

5,544 Views
Message 18 of 32
Report
Square

It looks like our team is aware of this, although I don't know yet what actions we will take. It seems like this mostly just affects how products are displayed in search results right now, meaning that they aren't rich snippets and look like regular search results.

5,539 Views
Message 18 of 32
Report

Yeah I have the same issue on all of my products with a bunch of warnings. The first is the aggregate Rating

5,501 Views
Message 18 of 32
Report
Square

Thanks for commenting. I think Adam mentioned our team is aware of the issue. I'll see if we can get any more info. 

5,495 Views
Message 18 of 32
Report

I have this issue as well on all of my products.

4,255 Views
Message 18 of 32
Report

I had the same issue, and the problem is that the Weebly Store individual item pages have incomplete micro-data elements wrapping the content. My solution was to add some Javascript in the site's global footer. This will look for the itemprops for aggregateRating and itemReviewed, then add the needed micro-data.

<script>
var reviewDiv = document.createElement("div");
  var ratingDiv = document.createElement("div");
  var reviewSpan1 = document.createElement("span");
  var reviewSpan2 = document.createElement("span");
  var ratingSpan3 = document.createElement("span");
  var ratingSpan4 = document.createElement("span");
  var ratingSpan5 = document.createElement("span");
  var reviewMeta1 = document.createElement("meta");
  var ratingMeta2 = document.createElement("meta");
  var schemaReview = document.querySelector('[itemprop="itemReviewed"]');
 
function setAttributes(el, attrs) {
  for(var key in attrs) {
    el.setAttribute(key, attrs[key]);
  }
}
setAttributes(reviewDiv, {"itemprop": "review","itemscope":"", "itemtype":"http://schema.org/Review", "class":"hidden"});
setAttributes(reviewSpan1, {"itemprop":"name"});
setAttributes(reviewSpan2, {"itemprop":"author"});
setAttributes(reviewMeta1, {"itemprop":"datePublished", "content":"2019-04-01"});

setAttributes(ratingDiv, {"itemprop":"reviewRating","itemscope":"", "itemtype":"http://schema.org/Rating", "class":"hidden"});
setAttributes(ratingMeta2, {"itemprop":"worstRating", "content": "5"});
setAttributes(ratingSpan3, {"itemprop":"ratingValue"});
setAttributes(ratingSpan4, {"itemprop":"bestRating"});
setAttributes(ratingSpan5, {"itemprop":"description"});

/*review div*/
reviewSpan1.innerText = "A needed Source: ";
reviewSpan2.innerText = "Facebook";
reviewMeta1.innerText = "April 1, 2019";
/* Rating div*/
ratingSpan3.innerText = "5/";
ratingSpan4.innerText = "5 stars:  ";
ratingSpan5.innerText = "Well constructed, attractive selection";

reviewDiv.appendChild(reviewSpan1).appendChild(reviewSpan2).appendChild(reviewMeta1);
ratingDiv.appendChild(ratingSpan3).appendChild(ratingSpan4).appendChild(ratingSpan5);

schemaReview.appendChild(reviewDiv).appendChild(ratingDiv);

function addReviewMetaDataToStorePages() {
  var storeSpan1 = document.createElement("span");
  var storeSpan2 = document.createElement("span");
  var schemaspan = document.querySelector('[itemprop="aggregateRating"]');
  var hideschema = document.createAttribute("class");
  
  hideschema.value= "hidden";
  storeSpan1.setAttributeNode(hideschema);
  storeSpan1.setAttribute("itemprop", "ratingValue");
  storeSpan2.setAttribute("itemprop", "reviewCount");
  storeSpan1.innerText = " Rated 5/5;  ";
  storeSpan2.innerText = "Customer Reviews: 4";
  schemaspan.appendChild(storeSpan1).appendChild(storeSpan2);
}

 addReviewMetaDataToStorePages();
</script>

The hidden class is some CSS that I added to the main.less file to prevent the content from being visible on screen:

.hidden {
   color:transparent;
}
5,459 Views
Message 23 of 32
Report

I am having this exact same issue.  If I copy and paste this code into my website footer, it will fix the issue?

Thank you.

5,438 Views
Message 23 of 32
Report
Square

I'm not familiar with the code that was posted, so I wouldn't be able to confirm if it would fix anything. Sorry to hear you are having this problem as well. I still don't have an eta on a fix, but will highlight this issue in our next feedback meeting. 

5,431 Views
Message 23 of 32
Report

So, is this a valid solution?

Same problem here...

Thanks!

5,321 Views
Message 23 of 32
Report