Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi
I hope your guys can help with.
In Google search console i have an error, that says the structured data has a syntax error with a wrong value type.
Invalid items are not eligible to appear as expanded results in Google Search.
But i cant se it can U?
Solved! Go to the solution
This is an accepted solution.
Hey @Henrik3 sorry for not being more clear. Since there isn't any Rich Result you can win on the collection page, there is no value in this code. You can either delete the script altogether or ignore the errors. Either way, Google isn't going to use the information so it doesn't harm you one way or the other.
Hey @Henrik3
If you scroll up just a bit on the right, you'll see the beginning of the <script> tag for the structured data. The type "CollectionPage" isn't eligible for Rich Results which is why you're seeing the error.
There isn't a Rich Result for Google for the collection page.
https://search.google.com/test/rich-results/result?id=95nepYlFCqosE0s6YpSUGQ
Okay. What should it say instead of "@type": "CollectionPage" in the script, or is the entire script wrong?
<script type="application/ld+json">
[
{
"@context" : "http://schema.org",
"@type": "CollectionPage",
"name": "",
"url": "https://www.homebarista.dk",
"image": "//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif"
},
]
</script>
This is an accepted solution.
Hey @Henrik3 sorry for not being more clear. Since there isn't any Rich Result you can win on the collection page, there is no value in this code. You can either delete the script altogether or ignore the errors. Either way, Google isn't going to use the information so it doesn't harm you one way or the other.
Thanks for your help. I think, that i will delete the script, as it doesnt bring any value to the page.
Hello,
I have several issues in the Google search console of my website which is on the venture theme.
The main reason is structured data : You must specify "price" or "priceSpecification.price" (in "offers")
Can someone help me solve this please? The website : https://myciseauxcoiffure.com
Thank you
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025