All things Shopify and commerce
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 [email protected] 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 [email protected] 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 [email protected] 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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024