Merchant Center "Meta Data" errors

Highlighted
Tourist
29 0 3

Hi everyone,

I have been having some real difficulties setting up Google Shopping and Dynamic Remarketing.
Thankfully after much help from this forum I think I'm there. However, I still have some errors in Merchant Center that I cant explain, please see below:

• Automatic item updates: Missing schema.org microdata availability information
• Missing microdata for condition
• Automatic item updates: Missing schema.org microdata price information

Whats really confusing me is that these errors only effect some of my products! - I cant work out why.
Below is the code from my store taked from the theme.liquid.

Any help woud be greatly appriciated! 
Cheers,
Dan 

<div itemscope itemtype="http://schema.org/Product">
<meta itemprop="name" content="{{ product.title }}" />
<div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
<meta itemprop="priceCurrency" content="{{ shop.currency }}">
<meta itemprop="price" content="{{ product.price |money_without_currency  |strip_html }}">
{% if product.available == true %}<meta itemprop="availability" content="http://schema.org/InStock"/>{% else %}<meta itemprop="availability" content="http://schema.org/OutOfStock"/>{% endif %}
<meta itemprop="itemCondition" itemtype="http://schema.org/OfferItemCondition" content="http://schema.org/NewCondition" />
<meta itemprop="sku" content="{{ product.variants.first.sku }}"/>
</div>
</div>

Below is the code that I am using for the remarketig tag. This is still acting wierd and validating products on some pages and not others - maybe this is related? 

    {% comment %} Enter your google conversion id below {% endcomment %}
{% assign google_conversion_id = '869930726' %}
{% assign shopify_store_country  = 'GB' %}
{% if shop.currency == 'GBP' %}
{% assign shopify_store_country  = 'GB' %}
{% endif %}

<script type="text/javascript">
  
    {% if template contains 'cart' %}
    var google_tag_params = {
          ecomm_prodid: [{% for item in cart.items %}'shopify_{{ shopify_store_country  }}_{{ item.product.id }}_{{ item.variant.id }}'{% unless forloop.last %}, {% endunless %}{% endfor %}],
          ecomm_pagetype: 'cart',
          ecomm_totalvalue: {{ cart.total_price | money_without_currency  | remove: ','  }}
    };
  
  {% elsif template contains 'collection' %}
    var google_tag_params = {
          ecomm_prodid: [{% for item in collection.products limit:5 %}'shopify_{{ shopify_store_country  }}_{{ item.id }}_{{ item.variants.first.id }}'{% unless forloop.last %}, {% endunless %}{% endfor %}],
          ecomm_pagetype: 'category',
          ecomm_category: '{{ collection.handle }}'
    };
  
  {% elsif template contains 'index' %}
    var google_tag_params = {
        ecomm_pagetype: 'home'
    };
  
  
  {% elsif template contains 'product' %}
    var google_tag_params = {
      ecomm_prodid: 'shopify_{{ shopify_store_country  }}_{{ product.id }}_{{ product.selected_or_first_available_variant.id }}',
          ecomm_pagetype: 'product',
          ecomm_totalvalue: {{ product.price | money_without_currency  | remove: ','  }}
    };
  
  {% elsif template contains 'search' %}
    var google_tag_params = {
          ecomm_prodid: [{% for item in search.results limit:5 %}'shopify_{{ shopify_store_country  }}_{{ item.id }}_{{ item.variants.first.id }}'{% unless forloop.last %}, {% endunless %}{% endfor %}],
          ecomm_pagetype: 'searchresults'
    };
  {% else %}
    var google_tag_params = {
          ecomm_pagetype: 'other'
    };
  
  {% endif %}

    /* <![CDATA[ */
    var google_conversion_id = {{ google_conversion_id }};
    var google_custom_params = window.google_tag_params;
    var google_remarketing_only = true;
    /* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/{{ google_conversion_id }}/?value=0&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

 

0 Likes
Shopify Partner
55 0 1

Hey Daniel;

 

I've set up Google Shopping for Shopify merchants over 5x and never came accross this error - are you sure you have set up the feed and remarketing codes correctly? 

 

Reach out if you need help - UriWeinber@gmail.com

0 Likes
Tourist
29 0 3

Hi Uri, 

Thanks for replying. I'm not sure I have dont any of this correctly! How can I check the feed and remarketing codes? 

Cheers!
Dan 

0 Likes