All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
On my site, these issues are accrued how to resolve them. site is about custom night guards.
Solved! Go to the solution
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....
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....
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.
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.
We started having a syntax error recently as well. We error we are getting is "incorrect value type". Can someone recommend a fix. The website is notveryvanilla.com
Hello!
As I can see, the "Spider free SEO optimizer" app added the incorrect code. I recommend deactivating the structured data in this app and using another app to add a schema markup.
I am happy to help you set up SA SEO JSON‑LD Schema markup app settings if you would like.
Best Regards,
Sofiia