title: Shopify liquid product.thumbnail.liquid repeats block even there is no loops
body: <p>[![enter image description here][1]][1]My job Is too simple i.e just to add Amazon url in a div block in product thumbnail.liquid.I Have added just simple div, then I found that same div is repeated twice. I have also checked that there is no <code>forloop</code> found still how does it is repeating .Today I found the file called <code>product-loop.liquid</code> which has <code>for</code> loop and <code>product thumbnail.liquid</code> is included. What I need to do if I need to show amazon link block only once? Entire file is in gist link.Thanks.</p>
  
  <p>product-loop.liquid</p>
  
  <pre><code>{% assign product_found = false %}
  {% assign skip = false %}
  {% assign collection_group = products | map: 'id' %}
  {% assign collection_group_thumb = collection_group | append : 'thumb' %}
  {% assign collection_group_mobile = collection_group | append : 'mobile' %}
  
  {% capture new_row %}
      &lt;br class="clear product_clear" /&gt;
  {% endcapture %}
  
  &lt;div itemtype="http://schema.org/ItemList" class="products"&gt;
    {% for product in products limit: limit %}
      {% if product.id == skip_product.id or skip == true %}
        {% assign product_found = true %}
      {% else %}
        {% if forloop.rindex0 == 0 and product_found == false and forloop.length != products.count and template != 'search' %}
          {% assign skip = true %}
        {% else %}
  
          {% include 'product-thumbnail', sidebar: sidebar %}
  
          {% if products_per_row == 2 %}
            {% cycle collection_group: '', new_row %}
          {% elsif products_per_row == 3 %}
            {% cycle collection_group: '', '', new_row %}    
          {% elsif products_per_row == 4 %}  
            {% cycle collection_group: '', '', '', new_row %}
          {% endif %}
        {% endif %}    
      {% endif %}
    {% endfor %}
  &lt;/div&gt;
  </code></pre>