All things Shopify and commerce
I got that error and warning from GSC. How can I solve the issues?
Missing field "aggregateRating"
Missing field "review"
Missing field "sku"
No global identifier provided (e.g., gtin, mpn, isbn)
Missing field "image"
Either "offers", "review", or "aggregateRating" should be specified
Missing field "name" "Passed"
Missing field "author" "Passed"
Missing field "priceValidUntil" "Passed"
Missing field "brand"
I used Shopify and the "simple" theme also used the SEO King and Judge.me app.
Need help to solve the issues...
Thanks In Advance!
I am having a similar issue/warning with avada SEO suite
1) Find this code below in the liquid file
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
2) Then Copy this code: <meta itemprop="priceValidUntil" content="{{ 'now' | date: '%s' | plus: 31536000 | date: '%Y-%m-%d' | uri_encode | replace:'+','%20' }}">
and paste it under the code above(1).
1) Find this code at the topmost of product-template.liquid: <div itemscope itemtype="http://schema.org/Product" id="ProductSection" data-section-id="{{ section.id }}" data-section-type="product-template" data-image-zoom-type="{{ section.settings.product_image_zoom_type }}" data-show-extra-tab="{{ section.settings.show_extra_tab }}" data-extra-tab-content="{{ section.settings.extra_tab_content }}" data-cart-enable-ajax="{{ settings.cart_enable_ajax }}" data-enable-history-state="true">
2) Paste this code under the code above(1)
{% assign fa_product_id_alpha2_code = 'US' %}
{% assign fa_prices_with_decimal_separator = true %}
{% assign fa_product_id = 'default' %}
{%- assign fa_current_variant = product.selected_or_first_available_variant -%}
{%- assign fa_variant_count = product.variants | size -%}
{%- assign fa_count = 0 -%}
{%- if fa_product_id == 'default' -%}
{%- capture fa_product_id_value -%}shopify_{{ fa_product_id_alpha2_code }}_{{ product.id }}_{{ fa_current_variant.id }}{%- endcapture -%}
{% elsif fa_product_id == 'product_id' %}
{%- capture fa_product_id_value -%}{{ fa_current_variant.id }}{%- endcapture -%}
{% elsif fa_product_id == 'parent_id' %}
{%- capture fa_product_id_value -%}{{product.id }}{%- endcapture -%}
{% elsif fa_product_id == 'sku' %}
{%- capture fa_product_id_value -%}{{ fa_current_variant.sku }}{%- endcapture -%}
{% endif %}
3) edit the second step code:
fa_product_id_alpha2_code Change the 'US' to your country code based on this: https://help.shopify.com/en/api/custom-storefronts/storefront-api/reference/enum/countrycode
If you’re in the US, then keep fa_prices_with_decimal_separator to true, if you are in a European country then change it to false.
The following step requires you to check the product id in Google Merchant Center > Products > List. And see what ID you are using.
(if you don't know then just keep it default)
4) Then paste this code under the edited second step code:
<meta itemprop="sku" content="{{fa_product_id_value}}">
{%- if product.variants.first.barcode.size == 12 -%}
<meta itemprop="gtin12" content="{{ product.variants.first.barcode }}">
{%- endif -%}
{%- if product.variants.first.barcode.size == 13 -%}
<meta itemprop="gtin13" content="{{ product.variants.first.barcode }}">
{%- endif -%}
{%- if product.variants.first.barcode.size == 14 -%}
<meta itemprop="gtin14" content="{{ product.variants.first.barcode }}">
{%- endif -%}
I hope this help you out. I was able to figure it out after making some change based on this link: https://feedarmy.com/kb/shopify-microdata-for-google-shopping/.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024