How can I fix the 'missing field name' error in product snippets?

Topic summary

Users are encountering a ‘missing field name’ error in Google Search Console for product snippets, causing products to be marked as invalid for search. The issue appears to have started around March 6th and affects random products despite consistent settings across all items.

Proposed Solution:

  • Add the following meta tag to the product template file:
    <meta itemprop="name" content="{{ product.title }}">
  • This should be inserted into template--product.liquid

Implementation Challenges:

  • Multiple users report difficulty locating the correct file (product.liquid or product-card.liquid)
  • File locations vary by theme (Flow theme specifically mentioned)
  • Some users find product-related code only in Sections rather than Snippets

Workaround:

  • One user successfully resolved the issue using the suggested fix
  • A Chrome extension (EZFY - Shopify Theme File Search) was recommended to help locate the correct template file

The discussion remains active with several users still seeking clarification on exact file locations and implementation steps for their specific themes.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hello shopify people,

i didnt find prev discussion with same subject, so hoping you can help me to find a solution.
In my Google search console in Shopping category i have problem with Product snippets and it sounds like “Missing field ‘name’”, so 71 items are invalid for google search.
Can I add this field by myself to this items in Code editing of Theme?
Should it be the product name? Could you please give me an example of code and instructions where i should add it.
Thank you in advance,
Julie

1 Like

Dear Nicksopify4984,

thank you for your solution.

I didnt find ‘product.liquid’ or ‘product-card.liquid’ file in Snippets, but only in Sections..
In Snippets i find this code product.title in product-cross-sell.liquid file

{{ product.title }}
    {% render 'product-pricing', current_variant: variant %}

    Should i add your code </span> <span class="name">{{ product.title }}</span> </a> </div> to this file?

I’ve had this same issue arise where there was previously no problem. It seems to have started March 6th. All of my products have the same settings/markup/criteria yet a random 59 products are getting the error. I’m wondering if either it’s due to a Shopify or Google Merchant update of some sort.

If someone could please elaborate on a potential fix that would be very helpful!

I am having the same problem. I am using the Flow theme.

I am also having this issue, products are set up correctly. Any solutions?

Easy to fix, just add

To template–product.liquid

1 Like

This worked and was an easy fix! Thank you so much for Posting, I am also using the Flow Theme

Hello! Im having the same issue, however I cannot find this exact template. Which out of these (see picture) are you referring to?
Thanks!

1 Like

im having the same issue too, i also cant find product.liquid … can someone please help?

I am having the same problem. Do you have a solution yet?

To template–product.liquid

download this google extension EZFY : https://chromewebstore.google.com/detail/shopify-theme-file-search/mhchmhfecfdpaifljcfebnlaiaphfkmb

Hi Kordian, I am not understanding where to make this fix. Would you be able to assist me? Thank you so much!