Search Console issue with my products. DEBUT THEME.

Jose13
Shopify Partner
114 1 13

I was looking at Search Console Engine and found an issue in my products: 

 

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

 

I read a bit further and it seems to be something with the JSON Schema, but I'm not very sure what is it nor how to fix it. I'm using Debut Theme. I believe this errors have a direct impact on my SEO ranking, right? Is there a fix for this? 

SCE_error.JPG

0 Likes

Dear Jose13,

 

Hope this will help.

 

Please check your JSON-LD. It should be nicely placed in one place.

Here is the Liquid code used to remove Product error:

 

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Product",
  "url": "{{ shop.url | append: '/products/' | append: product.handle }}",
  "name": "{{ product.title }}",
  "image": "{{ product.featured_image.src | img_url: 'master' }}",
  "description": "{{ product.description | strip_html | escape }}",
  {% if collection_urls != blank %}
  "category": [
    {{ collection_urls }}
  ],
  {% endif %}
  "brand": {
    "name": "{{ product.vendor }}"
  },
  "offers": {
    "@type": "Offer",
    "priceCurrency": "{{ shop.currency }}",
    "price": "{{ current_variant.price | money }}",
    "availability": "http://schema.org/{% if product.available %}InStock{% else %}OutOfStock{% endif %}",
    "seller": {
      "@type": "Organization",
      "name": "{{ shop.name }}"
    }
  }
}
</script>
Best Regards
MS Web Designer| MS Web International | Task4Store
Contact Us: https://www.task4store.com/pages/contact-us OR task4store@mswebdesigner.com
Was our reply helpful? Please Like or Accept solution
0 Likes