{% if item_count > 0 %}

Your Bag ({{ item_count }})

{% endif %} {% if item_count == 0 %}

You have no items in your shopping cart.

{% endif %} {% for item in items %} {% unless item.properties._bundle == 'component' %}
{% assign product_title = item.product_title | split: " - " %}

{{ product_title | first }}

{{ product_title[1] }}

{% for option in item.options_with_values %} {% unless option.name == "Title" or option.name == "Color" %}

{{ option.name }} {{ option.value }}

{% endunless %} {% endfor %}
{% assign price = item.final_price %} {% assign removal = '.00' %} {% assign decimal_split = 100000000 | money: 'local' | split: '.' %} {% if decimal_split.last contains ',' %} {% assign removal = ',00' %} {% endif %} {% if item.properties._compare_at_price > price %} {{ item.properties._compare_at_price | money: 'local' | remove: removal }} {% endif %} {{ price | money: 'local' | remove: removal }}
{% if item.properties._inventory_quantity < 4 %} {% capture lsm %}Only **n** Left{% endcapture %} {{ lsm | replace:'**n**', item.properties._inventory_quantity, | replace: '**size**', item.options_with_values[1].value }} {% endif %}
{% for property in item.properties %} {% assign key = property | first %} {% assign value = property | last %} {% if key == 'Final Sale' %}

{{key}}:
{{ value }}

{% endif %} {% endfor %} {% for badge in productBadges | where: 'type', 'badge' %} {% unless badge.cart_badge %}{% continue %}{% endunless %} {% assign tagToCheck = badge.tag %} {% for tag in item.properties._tags %} {% if tag == tagToCheck %}

{{ badge.cart_badge | newline_to_br }}

{% break %} {% endif %} {% endfor %} {% endfor %}
{% endunless %} {% endfor %}