{% assign title = item.product_title %}
{% if title != blank %}
{{ title }}
{% endif %}
{% if item.handle != blank %}
Item {{ item.handle | upcase }}{% if item.variant_title != blank and item.variant_title != 'Default Title' %} · {{ item.variant_title }}{% endif %}
{% endif %}
{% if item.properties._source != blank %}
{{ item.properties._source }}
{% endif %}
{% if item.properties._personalization != blank %}
Personalization
{% endif %}
{% for prop in item.properties %}
{% assign _prop = prop | first | split:'_' %}
{% unless _prop[0] == blank %}
{{ prop | first | replace: '_', ' ' }}: {{ prop | last }}
{% endunless %}
{% endfor %}
{% if found_bundle %}
{% for prop in item.properties %}
{% assign pk1 = prop | first %}
{% if pk1 == '_components' %}
{% assign bundle_items = prop | last | split: ',' %}
{% for bundle_item in bundle_items %}
{% if bundle_qty_up and bundle_qty != blank %}
{{ bundle_qty }}
{% else %}
{{ item.quantity }}
{% endif %}
x {{ bundle_item | strip | replace: 'amp;', '' }}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% if show_surcharge %}
This item carries a shipping surcharge: {{ surcharge_total | prepend: '$' }}
{% endif %}
{% for badge in productBadges | where: 'type', 'badge' %}
{% assign tagToCheck = badge.tag %}
{% for tag in item.properties._tags %}
{% if tag == tagToCheck and badge.cart_badge != blank %}
{{ badge.cart_badge | newline_to_br }}
{% break %}
{% endif %}
{% endfor %}
{% endfor %}