{% 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 %}
{% comment %}
Feed price-display both discount sources it ORs over: the compare-at
(tag-derived strikethrough base) and the applied line discount.
data-discounted-price is emitted unconditionally — the component
ignores it unless it is lower than data-price. It must stay
unconditional: a Liquid tag inside an HTML tag's attribute list is
shredded by the browser's HTML parser in this client-side template,
and a "<" in a Liquid tag is escaped to < and fails to parse.
{% endcomment %}
{% assign line_unit_price = item.original_price | default: item.price %}
{% assign line_final_price = item.final_price | default: item.price %}