Hi
I keep getting an error in GMC's diagnostics that says, i have problems with my "Automatic item updates are activated [price]" The value in the feed doesnt match the value on my site.
Is the something missing in my product.liqued file, that causes the mismatch in the GMC feed?
<div class="sixteen columns">
<div class="clearfix breadcrumb">
<div class="right mobile_hidden">
{% if collection.previous_product %}
{% capture prev_url %}{{ collection.previous_product }}{% endcapture %}
{{ 'products.general.previous_product_html' | t | link_to: prev_url }}
{% if collection.next_product %} | {% endif %}
{% endif %}
{% if collection.next_product %}
{% capture next_url %}{{ collection.next_product }}{% endcapture %}
{{ 'products.general.next_product_html' | t | link_to: next_url }}
{% endif %}
</div>
{% if settings.product_breadcrumb %}
<div class="breadcrumb_text" itemscope itemtype="http://schema.org/BreadcrumbList">
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="{{ shop.url }}" title="{{ shop.name | escape }}" itemprop="item"><span itemprop="name">{{ 'general.breadcrumbs.home' | t }}</span></a></span>
/
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
{% if collection %}
<a href="{{ collection.url }}" title="{{ collection.title | escape }}" itemprop="item"><span itemprop="name">{{ collection.title }}</span></a>
{% else %}
<a href="/collections/all" title="{{ collections.all.title }}" itemprop="item"><span itemprop="name">{{ collections.all.title }}</span></a>
{% endif %}
</span>
/
{{ product.title }}
</div>
{% endif %}
</div>
</div>
{% if settings.product_sidebar %}
{% include 'sidebar' %}
<div class="twelve columns">
<div class="product-{{ product.id }}">
{% else %}
<div class="sixteen columns">
<div class="product-{{ product.id }}">
{% endif %}
<div class="section product_section clearfix" itemscope itemtype="http://schema.org/Product">
{% if settings.product_images_position == 'left' %}
<div class="{% if settings.product_sidebar %}seven{% else %}nine{% endif %} columns {% if product-images == blank %}{% if settings.product_images_position == 'left' %}alpha{% else %}omega{% endif %}{% endif %}">
{% include 'product-images' %}
</div>
{% endif %}
<div class="{% if settings.product_sidebar %}five{% else %}seven{% endif %} columns {%if settings.product_images_position == 'left' %}omega{% else %}alpha{% endif %}">
{% assign collection_handles = product.collections | map: 'handle' %}
{% assign variant = product.selected_or_first_available_variant %}
<h1 class="product_name" itemprop="name">{{ product.title }}</h1>
{% if settings.display_vendor %}
<p class="vendor">
<span itemprop="brand">{{ product.vendor | link_to_vendor }}</span>
</p>
{% endif %}
{% if variant.sku != blank and settings.display_sku %}
<p class="sku">
<span itemprop="sku">{{ variant.sku }}</span>
</p>
{% endif %}
{% unless collection_handles contains 'coming-soon' %}
<p class="modal_price" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="priceCurrency" content="{{ shop.currency }}" />
<meta itemprop="seller" content="{{ shop.name | escape }}" />
<link itemprop="availability" href="http://schema.org/{% if product.available %}InStock{% else %}OutOfStock{% endif %}">
<meta itemprop="itemCondition" content="New" />
<span class="sold_out">{% if variant.available == false %}{{ 'products.product.sold_out' | t }}{% endif %}</span>
<span itemprop="price" content="{{ variant.price | money_without_currency }}" class="{% if variant.compare_at_price > variant.price %}sale{% endif %}">
<span class="current_price js-product-price {% if product.available == false %}hidden{% endif %}">
{% if variant.price > 0 %}
{{ variant.price | money }}
{% else %}
{{ settings.free_price_text }}
{% endif %}
</span>
</span>
<span class="was_price">
{% if variant.price < variant.compare_at_price and variant.available %}
{{ variant.compare_at_price | money }}
{% endif %}
</span>
</p>
{% include 'product-notify-me' %}
{% endunless %}
{% if settings.product_description_position == "top" %}
{% if product.description != blank %}
<div class="description" itemprop="description">
{{ product.description | split: '<!-- split -->' | first }}
</div>
{% endif %}
{% endif %}
{% unless collection_handles contains 'coming-soon' %}
{% include 'product-form' with 'product' %}
{% endunless %}
{% if settings.product_description_position == "bottom" %}
{% if product.description != blank %}
<div class="description" itemprop="description">
{{ product.description | split: '<!-- split -->' | first }}
</div>
{% endif %}
{% endif %}
{% if settings.display_collections or settings.display_tags or settings.display_type %}
<hr />
{% endif %}
<div class="meta">
{% if settings.display_collections %}
<p>
<span class="label">{{ 'products.product.collections' | t }}:</span>
<span>
{% for col in product.collections %}
<a href="{{ col.url }}" title="{{ col.title }}">{{ col.title }}</a>{% unless forloop.last %},{% endunless %}
{% endfor %}
</span>
</p>
{% endif %}
{% if settings.display_tags %}
<p>
{% for tag in product.tags %}
{% if forloop.first %}
<span class="label">{{ 'products.product.tags' | t }}:</span>
{% endif %}
{% unless tag contains 'meta-related-collection-' %}
<span>
<a href="/collections/{% if collection %}{{ collection.handle }}{% else %}all{% endif %}/{{ tag | handle }}" title="{{ 'products.product.products_tagged' | t: tag: tag }}">{{ tag }}</a>{% unless forloop.last %},{% endunless %}
</span>
{% endunless %}
{% endfor %}
</p>
{% endif %}
{% if settings.display_type %}
<p>
<span class="label">{{ 'products.product.product_types' | t }}:</span>
<span>{{ product.type | link_to_type }}</span>
</p>
{% endif %}
</div>
{% include "social-buttons" with "product" %}
</div>
{% if settings.product_images_position == 'right' %}
<div class="{% if settings.product_sidebar %}six{% else %}eight{% endif %} columns {% if product-images == blank %}{% if settings.product_images_position == 'left' %}alpha{% else %}omega{% endif %}{% endif %}">
{% include 'product-images' %}
</div>
{% endif %}
</div>
{% if product.description contains "<!-- split -->" %}
<br class="clear" />
<div class="section clearfix">
<div class="description">
{{ product.description | split: '<!-- split -->' | last }}
</div>
</div>
{% endif %}
</div>
<div class='span12'><div id='judgeme_product_reviews' data-product-title='{{product.title}}' data-id='{{product.id}}'>{{ shop.metafields.judgeme.settings }}{{ product.metafields.judgeme.widget }}</div></div>
{% if settings.display_related_products %}
{% capture limit %}{{ settings.products_per_row | plus: 1 }}{% endcapture %}
{% if collection and collection.all_products_count > 1 %}
{% assign col = collection.handle %}
{% else %}
{% assign col = product.collections.last.handle %}
{% endif %}
{% for tag in product.tags %}
{% if tag contains 'meta-related-collection-' %}
{% assign related_collection_handle = tag | remove: 'meta-related-collection-' %}
{% if collections[related_collection_handle].all_products_count > 0 %}
{% assign col = related_collection_handle %}
{% assign collection = collections[col] %}
{% capture limit %}{{ collection.products_count | plus: 1 }}{% endcapture %}
{% endif %}
{% endif %}
{% endfor %}
{% if col and collections[col].all_products_count > 0 %}
{% if collections[col].all_products_count != 1 or collections[col].products.first.id != product.id %}
<br class="clear" />
<br class="clear" />
<h4 class="title center">{{ 'products.product.related_items' | t }}</h4>
{% assign skip_product = product %}
{% assign products = collections[col].products %}
{% assign products_per_row = settings.products_per_row %}
{% include 'product-loop' with settings.product_sidebar %}
{% endif %}
{% endif %}
{% endif %}
</div>
User | Count |
---|---|
25 | |
20 | |
19 | |
16 | |
15 |