Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
We are using the Dawn theme. I need some assistance, I couldn't find any solution to this specific issue after searching past discussions on rich results and missing fields.
I have an error in Google Search Console for all products' rich results: Missing field "image":
My understanding is that the rich results are defined under the main-product.liquid section of the code of the theme:
{
"@context": "http://schema.org/",
"@type": "Product",
"name": {{ product.title | json }},
"url": {{ shop.url | append: product.url | json }},
{%- if product.selected_or_first_available_variant.featured_media -%}
{%- assign media_size = product.selected_or_first_available_variant.featured_media.preview_image.width | append: 'x' -%}
"image": [
{{ product.selected_or_first_available_variant.featured_media | img_url: media_size | prepend: "https:" | json }}
],
{%- endif -%}
"description": {{ product.description | strip_html | json }},
{%- if product.selected_or_first_available_variant.sku != blank -%}
"sku": {{ product.selected_or_first_available_variant.sku | json }},
{%- endif -%}
I suspect there is an issue with this line:
"image": [ {{ product.selected_or_first_available_variant.featured_media | img_url: media_size | prepend: "https:" | json }} ],
Any assistance would be greatly appreciated!
We are having the same issue, so hoping we can find a resolution 🙂
Same here. Wish I had a solution for you.
I am having the same issue, were you able to fix the error?
No solution so far.
Facing the same issue, no solution yet. All product under merchant listing show missing field image.
I am facing the same issue. Has this issue been resolved?
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024