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
Hi,
I'm getting an error on Google Search Console, for unpassable structured data.
<script type="text/javascript" async="" src="//unfairbaits.com/cdn/s/trekkie.storefront.c1258b47cccb7bc2aeeaeb253b8999e078bd2f6b.min.js"></script><script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Unfair Baits",
"url": "https:\/\/unfairbaits.com",
"logo": "https:\/\/unfairbaits.com\/cdn\/shop\/files\/Cropped_Logo_5ad8d12c-7f33-4903-b326-cbfdf9244a26.png?v=1714578125\u0026width=500"
"url": "https:\/\/unfairbaits.com"
}
</script><script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://unfairbaits.com"
}]}
</script>
and the below is highlighted by the console
Thanks in advance for any guidance you can provide
Solved! Go to the solution
This is an accepted solution.
Hi @GAUB 👋 there's a comma missing before the highlighted line. And the highlighted line is also a duplicated property "url".
If you need theme repair services then contact me.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Hi @GAUB 👋 there's a comma missing before the highlighted line. And the highlighted line is also a duplicated property "url".
If you need theme repair services then contact me.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi Paul,
Thanks, now you say that I can see it a mile away.
Now to follow it up with the most newb question you'll get all day. I can't work out which file this is in.
Implementation varies wildly among themes,
For Organization see theme.liquid or relative snippets , for breadcrumbs either theme.liquid, a section/snippet for breadcrumbs etc.
In some cases it's in SEO apps.
You'll have to dig.
FYI : there is now a structured_data filter , currently for product and article objects , so the LD+JSON schema may not be fully present in files now
https://shopify.dev/changelog/liquid-structured_data-filter-supports-productgroup
https://shopify.dev/docs/api/liquid/filters/structured_data
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi Paul,
Just this second found it. Its the second issue I've had with a certain shopify 3rd party application adding rubbish code in (If you search my last issue it was the same app). I'll mark your original reply as the solution. Many thanks