script loading structured AggregateRating product data, but I can't find the script

Highlighted
Shopify Partner
9 0 2

I've installed the feedarmy code for structured data which took care of all the structured data issues for my shopify store. I've followed all the steps and replaced the code on in the product page code. But now I have a problem. There are still warnings for AggregateRating as you can see here:

https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fwww.signa.com%2Fproduc...

The following code is being rendered, but I have searched and searched the files for anything that might be rendering this code. I can't find out where this is coming from. How can I find the source of this code?

<!-- Inserted by https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js -->
<script type="application/ld+json">

      {
        "@context": "http://schema.org/",
        "@type": "AggregateRating",
        "reviewCount": "1",
        "ratingValue": "5.0",
        "itemReviewed": {
          "@type" : "Product",
          "name" : "Extreme 10900/3900X Gaming PC w/2060, 2070, 2080 Super Graphics",
          "offers": {
            "@type": "AggregateOffer",
            "lowPrice": "2999.0",
            "highPrice": "4838.0",
            "priceCurrency": "CAD"
          }
        }
      }
</script>
0 Likes
Highlighted
New Member
2 0 0

I'm looking the same exact issue, with Pipeline Theme.

 

Does anyone know a fix for it?

0 Likes
Highlighted
Shopify Partner
2294 116 345

@Bombadil If you have a problem and want others to be able they need to be able to reproduce the problem in some manner.

Provide relevant information like store url, or example product url, etc. 

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
0 Likes
Highlighted
New Member
2 0 0

Yeah sure, basically if you look and test my product page like: https://www.tombombadil.cl/products/tin-whistle-fedog-d-brass

You will note that the product it's ok, but somehow Shopify or the theme adds the very same script of the first post of this thread.

You will see that I've already done the structured data and completed it in the product item, BUT I'm getting AggregateRating somehow and that code it's impossible to find! Have no clue from where it comes from!

 

Here the test:

https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fwww.tombombadil.cl%2Fproduc...

0 Likes
Highlighted
Shopify Partner
2294 116 345

@Bombadil The additional AggregateRating area seems to be coming from the product reviews being output in those related elements (#shopify-product-reviews)

 

Oddly the reference structured-data test  it seems to show the data  outside and after the </body>and </html> tags?

Though that problem doesn't appear in the newer rich results tool https://search.google.com/test/rich-results

But in the actual viewed source(ctrl+u) of the reference product no such error shows, nor in developer tools /shrug.

 

 

 

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
0 Likes