Solved

Structured data with syntax errors detected

Alexa71
Shopify Partner
8 0 0

Screenshot_8.png

 

On my site, these issues are accrued how to resolve them. site is about custom night guards.

 

Screenshot_9.png

Accepted Solution (1)

tim
Shopify Expert
3466 280 1286

This is an accepted solution.

You need to check you sections/main-product.liquid 

Looks like it was modified and the comma is missing before "url":

      "offers": [{
            "@type" : "Offer","availability" : "http://schema.org/InStock",
            "price" : 149.0,
            "priceCurrency" : "USD",
              "priceValidUntil": "2024-12-31",
              "hasMerchantReturnPolicy": {
                            "value": true
                                        },
               "shippingDetails": {
                                "type": "FreeShipping",
                                "price": "0"
                                   }
            "url" : "https:\/\/shopkiry.com\/products\/custom-night-guards?variant=46911939936564"
          },

The original code is like this: https://github.com/Shopify/dawn/blob/c67c83387ba7b654e8f4cca683727d14c06b5c5c/sections/main-product.... 

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 3 (3)

tim
Shopify Expert
3466 280 1286

This is an accepted solution.

You need to check you sections/main-product.liquid 

Looks like it was modified and the comma is missing before "url":

      "offers": [{
            "@type" : "Offer","availability" : "http://schema.org/InStock",
            "price" : 149.0,
            "priceCurrency" : "USD",
              "priceValidUntil": "2024-12-31",
              "hasMerchantReturnPolicy": {
                            "value": true
                                        },
               "shippingDetails": {
                                "type": "FreeShipping",
                                "price": "0"
                                   }
            "url" : "https:\/\/shopkiry.com\/products\/custom-night-guards?variant=46911939936564"
          },

The original code is like this: https://github.com/Shopify/dawn/blob/c67c83387ba7b654e8f4cca683727d14c06b5c5c/sections/main-product.... 

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

sumanthjois1996
Shopify Partner
20 0 4

Personally, I don't like messing around with Structured Data. I used to use an app called JSON-LD -- took care of everything for me.

PageCrafter - Build Beautiful Product Descriptions that Improve Conversion

DM me your product page and I will help you improve it for free.

SofiiaAst
Shopify Partner
44 1 2

Hi!

You can add Shipping methods schema markup and Return Policy structure data effectively using the SA SEO JSON‑LD Schema markup app. If you have any questions, you can write to the app support and they will help you.

Sofiia Astanina, Shopify app developer
SA SEO JSON‑LD Schema markup