Google console search : Errors as missing name, offer.. after set up "related products"

Solved
Highlighted
New Member
10 0 0

Hi all,

Since I set up the "Recommend related products to customers" following this guide https://help.shopify.com/en/themes/customization/products/features/recommend-related-products#sectio..., The related products is fine and work perfectly.

But I got a problem in google console search, as name missing, offer, review, aggregateRating. If I turn off "Show related products" in theme editor, the Url test in google console search doent see any error (name missing, offer, review, aggregateRating). So it mean that the error come from the related product code.

The support of shopify advice me to ask if somebody knows how to add steps that make this Google Search Engine friendly.

In attachement, the screen copy of the google console search result and the code in red you can see on the copy that you can find on the page tested ligne 953 : https://www.nature-stabilisee.com/products/plante-stabilisee-petite-eucalyptus-parvifolia-verte-70cm

 

I think google console search is looking for the name of the related products,  but it shouldnt do.

 

Feel free to ask me anything.

 

Thanks in advance.

0 Likes
Highlighted

Success.

Shopify Partner
1642 206 323

Hey Marco,

 

This happens because the div element wrapper to the product you see in related products has the following attribute:

itemtype="http://schema.org/Product"

You might want to go through this document - https://developers.google.com/search/docs/data-types/product - and add the attributes that Google Search Console reports as mandatory. Alternatively, and I would advise you going this route, just make sure the div wrappers for products for related product section do not have the attribute above, it doesn't make much sense for the related product section anyways.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
1 Like
Highlighted
New Member
10 0 0

Hello,

 

Thank you for the answer SSvinarciuc.

 

 

0 Likes
Highlighted
Excursionist
61 0 4

Hi where could I take off this code? Thanks Sabine.

0 Likes
Highlighted
Shopify Partner
1642 206 323

Hey Sabine,

 

It's hard to guess without having access to your storefront. Can you share a (preview) URL to your store?

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes
Highlighted
New Member
10 0 0

@Sabine_Mohr wrote:

Hi where could I take off this code? Thanks Sabine.


Edit code : Sections > related-products.liquid > Line 3 ==> take off the code "itemtype="http://schema.org/Product".

0 Likes
Highlighted
Tourist
6 0 1

Hi @Marco_Savi  & @Visely-Team 

 

I am using the Brooklyn theme with the Globo app for related products so it looks like this code might be somewhere else. 

I also have this issue (www.byannawais.com) and according to google search console only 14 of my 54 products are complete. The missing parameters are: 

 

Missing field 'priceValidUntil'

Missing field 'review'

Missing field 'url'

Missing field 'sku'

Missing product ID

Missing field 'aggregateRating'

Missing field 'brand'

 

I have not added SKU or product ID on any products, so its not that strange that these are missing, but the rest?

 

Example of a product that is complete: https://byannawais.com/products/twisted-silver-ring-27mm

Example of a product that is not complete: https://byannawais.com/products/hammered-shield-silver-ring

 

I think this is weird, as all products should be based on the same code, right? 

Anyone who knows how to fix this?

 

Best,

Anna

0 Likes
Highlighted
New Member
1 0 0

Hi, 

I am using Debut theme, and customize related products section following the below link https://help.shopify.com/en/themes/customization/products/features/recommend-related-products#sectio....

Then google console search reported the error name missing, offer, review, aggregateRating either. I followed your tips to delete the element

itemtype="http://schema.org/Product" in relate-product.liquid as below.

<div class="product-template__container page-width" itemscope id="ProductSection-{{ section.id }}" data-section-id="{{ section.id }}" data-section-type="product" data-enable-history-state="true">

 

But it is unsolved. It failed at last. Could I get your further assistance? Thank you.

 

 

0 Likes
Highlighted
Shopify Partner
7 1 2
i'm using debut too, when you take of or remove it 💨 "itemtype" property the wrong warning will gone from search console but the problem it's with missing optional value like item name and price and url and sku
0 Likes
Highlighted
New Member
1 0 0

Hi,

 

Can you please look out at my code?

 

<div itemscope itemtype="http://schema.org/Product" data-section-type="product-template">

  <meta itemprop="name" content="Reza Durry" />

  <meta itemprop="url" content="https://www.contrastliving.com/products/reza-durry" />

  <meta itemprop="image" content="http://cdn.shopify.com/s/files/1/0060/0775/0738/products/9_grande.jpg?v=1556027363" />

 

  <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">

    <meta itemprop="price" content="395.0">

    <meta itemprop="priceCurrency" content="INR" />

   

    <link itemprop="availability" href="http://schema.org/InStock" />

   

  </div>

 

  <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">

    <meta itemprop="price" content="1755.0">

    <meta itemprop="priceCurrency" content="INR" />

   

    <link itemprop="availability" href="http://schema.org/InStock" />

   

  </div>

 

  <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">

    <meta itemprop="price" content="2750.0">

    <meta itemprop="priceCurrency" content="INR" />

   

    <link itemprop="availability" href="http://schema.org/InStock" />

   

  </div>

 

I also got the error in Search Console for my Shopify Store.

 

Missing field "priceValidUntil"

Missing field "aggregateRating"

Missing field "review"

Missing field "brand"

Missing field "url"

Missing field "sku"

No global identifier provided (e.g., gtin, mpn, isbn)

Missing field "description"

 

I am not sure what can I do to resolve these warnings? Please help me

 

Thanks in Advance

 

0 Likes