<div class="stripSection cartMain">
  <div class="grid flexGrid gridJustify">
    {% if cart.item_count < 1 %}
      <h1 id="cartHeading">{{ 'cart.general.empty' | t }} {{ 'cart.general.continue_browsing_html' | t }}</h1>
    {%else%}
      
      <form id="cartForm" class="fullSpan flexItem" id="cartForm" action="/cart" method="post" data-money_format='{{ shop.money_format }}'>
        {% for item in cart.items %} 
          <ul class="cartRow flexGrid fullSpan gridJustify">
            <li><img  src="{{item.image.src | product_img_url: 'medium'}}" alt="{{ item.title | escape }}" /></li>
            <li class="product_title">
              {{ item.title }}
              {% assign property_size = item.properties | size %}
              {% if property_size > 0 %}
                {% for p in item.properties %}
                  {% unless p.last == blank %}
                    {{ p.first }}:
                    {% if p.last contains '/uploads/' %}
                      <a href="{{ p.last }}">{{ p.last | split: '/' | last }}</a>
                    {% else %}
                      {{ p.last }}
                    {% endif %}
                    <br>
                  {% endunless %}
                {% endfor %}
              {% endif %}
            </li>
            <li class="product_price_cart">{{item.price | money}}</li>
            <li>
              <input class="qtyInput" type="text" name="updates[]" id="updates_{{ item.id }}"  data-lineItem="{{ forloop.index }}"  min="0" {% unless item.variant.inventory_management == blank or item.variant.inventory_policy == 'continue' %} max="{{ item.variant.inventory_quantity }}"{%endunless%} value="{{ item.quantity }}" />
            </li>
           	<li class="product_price_cart_mobile">{{item.price | money}}</li>
            <li class="remove_cart_link">
              <a  href="/cart/change?line={{ forloop.index }}&quantity=0">{%include 'svg-definitions' with 'close'%}</a>
            </li>
             <li class="product_title_cart_mobile">
               {{ item.title }}
               {% assign property_size = item.properties | size %}
                {% if property_size > 0 %}
                  {% for p in item.properties %}
                    {% unless p.last == blank %}
                      {{ p.first }}:
                      {% if p.last contains '/uploads/' %}
                        <a href="{{ p.last }}">{{ p.last | split: '/' | last }}</a>
                      {% else %}
                        {{ p.last }}
                      {% endif %}
                      <br>
                    {% endunless %}
                  {% endfor %}
                {% endif %}
            </li>
          </ul>
        {%endfor%}
        <h1 id="cartHeading"><span class="total_txt">{{ 'cart.general.subtotal' | t }}</span> <span id="cartTotal">{{cart.total_price|money}}</span></h1>
        {{ settings.cart_extra_text }}
        <div class="cartfoot">
          {% if settings.cart_terms_enable %}
          <div class="tac_wrapper">
            <input type="checkbox" id="agree" />
            <label for="agree">
              {{ settings.cart_terms_text }}
              <a href="#" data-getPopout="#termsPopup" class="hasPop terms_popup_trigger">
          		{{ settings.cart_terms_link_text }}
        	  </a>
            </label>
          </div>
          {% endif %}
          <div class="abc">
            {% if settings.cart_extra_button_2_enable %}
                    <a class="button {% if settings.cart_extra_button_1_enable == false %}cart_extra_button_full{%endif%}" id="extra_button_2_id" href="{{ settings.extra_button_2_link }}">{{ settings.extra_button_2_text }}</a>
                  {% endif %}
            {% if settings.cart_extra_button_1_enable %}
                  <a class="button {% if settings.cart_extra_button_2_enable == false %}cart_extra_button_full{%endif%}" id="extra_button_1_id" href="{{ settings.extra_button_1_link }}">{{ settings.extra_button_1_text }}</a>
                  {% endif %}
                  
          <button id="goToCheckout" type="submit"  name="checkout" class="button">{% if settings.cart_enable_secure_lock_icon %} <i class="fa fa-lock"></i>{%endif%} {{ settings.cart_page_checkout_text }}</button>
          
          	
          </div>
          	<input id="updateCart" type="submit" name="update" class="button linkButton" value="{{ 'cart.general.update' | t }}">
			{% if settings.enable_cart_checkout_icon %}
              <img alt="Checkout Secure" src="{{ 'checkout_cart_icon.png' | asset_url }}" class="checkout_image" />
            {% endif %}
         
        </div>
      
    	{% if settings.cart_paypal_btn == 'none' or settings.cart_paypal_btn == 'cart' %}
    		<div class="cart_additional_checkout_buttons">
                {% if additional_checkout_buttons %}<div class="additional-checkout-buttons">{{ content_for_additional_checkout_buttons }}</div>{% endif %}
        </div>
        {% endif %}
      </form>
    {%endif%}
  </div>
</div>