{{ 'component-cart.css' | asset_url | stylesheet_tag }} {{ 'component-cart-items.css' | asset_url | stylesheet_tag }} {{ 'component-totals.css' | asset_url | stylesheet_tag }} {{ 'component-price.css' | asset_url | stylesheet_tag }} {{ 'component-discounts.css' | asset_url | stylesheet_tag }} {{ 'quantity-popover.css' | asset_url | stylesheet_tag }} {%- style -%} .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px; padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px; } @media screen and (min-width: 750px) { .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top }}px; padding-bottom: {{ section.settings.padding_bottom }}px; } } {%- endstyle -%} {%- unless settings.cart_type == 'drawer' -%} {%- endunless -%}

{{ 'sections.cart.empty' | t }}

{{ 'general.continue_shopping' | t }} {%- if shop.customer_accounts_enabled and customer == null -%} {%- endif -%}
{%- if cart != empty -%} {%- for item in cart.items -%} {%- liquid assign has_qty_rules = false if item.variant.quantity_rule.increment > 1 or item.variant.quantity_rule.min > 1 or item.variant.quantity_rule.max != null assign has_qty_rules = true endif assign has_vol_pricing = false if item.variant.quantity_price_breaks.size > 0 assign has_vol_pricing = true endif -%} {%- endfor -%}
{{ 'sections.cart.title' | t }}
{{ 'sections.cart.headings.product' | t }} {{ 'sections.cart.headings.total' | t }} {{ 'sections.cart.headings.quantity' | t }} {{ 'sections.cart.headings.total' | t }}
{% if item.image %} {% comment %} Leave empty space due to a:empty CSS display: none rule {% endcomment %}
{{ item.image.alt | escape }}
{% endif %}
{%- if settings.show_vendor -%}

{{ item.product.vendor }}

{%- endif -%} {{ item.product.title | escape }} {%- if item.original_price != item.final_price -%}
{{ 'products.product.price.regular_price' | t }} {{- item.original_price | money -}} {{ 'products.product.price.sale_price' | t }} {{ item.final_price | money }}
{%- else -%}
{{ item.original_price | money }}
{%- endif -%} {%- if item.product.has_only_default_variant == false or item.properties.size != 0 or item.selling_plan_allocation != null -%}
{%- if item.product.has_only_default_variant == false -%} {%- for option in item.options_with_values -%}
{{ option.name }}:
{{ option.value }}
{%- endfor -%} {%- endif -%} {%- for property in item.properties -%} {%- assign property_first_char = property.first | slice: 0 -%} {%- if property.last != blank and property_first_char != '_' -%}
{{ property.first }}:
{%- if property.last contains '/uploads/' -%} {{ property.last | split: '/' | last }} {%- else -%} {{ property.last }} {%- endif -%}
{%- endif -%} {%- endfor -%}

{{ item.selling_plan_allocation.selling_plan.name }}

{%- endif -%}
    {%- for discount in item.line_level_discount_allocations -%}
  • {%- render 'icon-discount' -%} {{ discount.discount_application.title }}
  • {%- endfor -%}
{%- render 'loading-spinner' -%}
{%- if item.original_line_price != item.final_line_price -%}
{{ 'products.product.price.regular_price' | t }}
{{ item.original_line_price | money }}
{{ 'products.product.price.sale_price' | t }}
{{ item.final_line_price | money }}
{%- else -%} {{ item.original_line_price | money }} {%- endif -%} {%- if item.variant.available and item.unit_price_measurement -%}
{{ 'products.product.price.unit_price' | t }} {{ item.unit_price | money }}  {{ 'accessibility.unit_price_separator' | t }}  {%- if item.unit_price_measurement.reference_value != 1 -%} {{- item.unit_price_measurement.reference_value -}} {%- endif -%} {{ item.unit_price_measurement.reference_unit }}
{%- endif -%}
{%- if has_qty_rules or has_vol_pricing -%} {%- endif -%}
{% render 'icon-remove' %}
{%- if has_qty_rules or has_vol_pricing -%} {%- endif -%} {%- if has_vol_pricing or has_qty_rules -%} {%- endif -%}
{%- render 'loading-spinner' -%}
{%- if item.original_line_price != item.final_line_price -%}
{{ 'products.product.price.regular_price' | t }}
{{ item.original_line_price | money }}
{{ 'products.product.price.sale_price' | t }}
{{ item.final_line_price | money }}
{%- else -%} {{ item.original_line_price | money }} {%- endif -%} {%- if item.variant.available and item.unit_price_measurement -%}
{{ 'products.product.price.unit_price' | t }} {{ item.unit_price | money }}  {{ 'accessibility.unit_price_separator' | t }}  {%- if item.unit_price_measurement.reference_value != 1 -%} {{- item.unit_price_measurement.reference_value -}} {%- endif -%} {{ item.unit_price_measurement.reference_unit }}
{%- endif -%}
{%- endif -%}

{% schema %} { "name": "t:sections.main-cart-items.name", "settings": [ { "type": "color_scheme", "id": "color_scheme", "label": "t:sections.all.colors.label", "default": "scheme-1" }, { "type": "header", "content": "t:sections.all.padding.section_padding_heading" }, { "type": "range", "id": "padding_top", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "t:sections.all.padding.padding_top", "default": 36 }, { "type": "range", "id": "padding_bottom", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "t:sections.all.padding.padding_bottom", "default": 36 } ] } {% endschema %}