Hi,
For the life of me, i can’t find it. Copied out the code, could you bold the place were should I change it? Thank you!
{% comment %}
Renders cart drawer
Usage:
{% render ‘cart-drawer’ %}
{% endcomment %}
{{ ‘quantity-popover.css’ | asset_url | stylesheet_tag }}
{{ ‘component-card.css’ | asset_url | stylesheet_tag }}
{{ 'sections.cart.empty' | t }}
{% render 'icon-close' %} {{ 'general.continue_shopping' | t }}{%- if shop.customer_accounts_enabled and customer == null -%}
{{ 'sections.cart.login.title' | t }}
{{ 'sections.cart.login.paragraph_html' | t: link: routes.account_login_url }}
{%- endif -%}{{ 'sections.cart.title' | t }}
{% render 'icon-close' %}assign has_vol_pricing = false
if item.variant.quantity_price_breaks.size > 0
assign has_vol_pricing = true
endif
-%}
| {{ 'sections.cart.headings.image' | t }} | {{ 'sections.cart.headings.product' | t }} | {{ 'sections.cart.headings.total' | t }} | {{ 'sections.cart.headings.quantity' | t }} |
|---|---|---|---|
|
{% if item.image %}
{% comment %} Leave empty space due to a:empty CSS display: none rule {% endcomment %}
|
{%- 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 }}
{%- else -%}
{{ item.original_price | money }}
{%- endif -%}
{%- if item.product.has_only_default_variant == false
{%- for property in item.properties -%} {{ item.selling_plan_allocation.selling_plan.name }} {%- endif -%}
|
{%- render 'loading-spinner' -%}
{%- if item.original_line_price != item.final_line_price -%}
{{ 'products.product.price.regular_price' | t }}
{%- 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 -%}
|
{{-
'products.product.quantity.decrease'
| t: product: item.product.title
| escape
-}}
{% render 'icon-minus' %}
{{-
'products.product.quantity.increase'
| t: product: item.product.title
| escape
-}}
{% render 'icon-plus' %}
{% render 'icon-remove' %}
{%- if has_qty_rules == false -%}
{{- 'products.product.volume_pricing.title' | t -}}
{%- endif -%}
{%- endif -%}
{%- if item.variant.quantity_rule.increment > 1 -%}
{{-
'products.product.quantity.multiples_of'
| t: quantity: item.variant.quantity_rule.increment
-}}
{%- endif -%}
{%- if item.variant.quantity_rule.min > 1 -%}
{{-
'products.product.quantity.minimum_of'
| t: quantity: item.variant.quantity_rule.min
-}}
{%- endif -%}
{%- if item.variant.quantity_rule.max != null -%}
{{-
'products.product.quantity.maximum_of'
| t: quantity: item.variant.quantity_rule.max
-}}
{%- endif -%}
{%- render 'icon-close' -%}
{%- if item.variant.quantity_price_breaks.size > 0 -%}
|
{{ 'accessibility.loading' | t }}
{{ 'sections.cart.note' | t }} {% render 'icon-caret' %}
{{ 'sections.cart.note' | t }} {{ cart.note }}-
{%- for discount in cart.cart_level_discount_applications -%}
- {%- render 'icon-discount' -%} {{ discount.title }} (-{{ discount.total_allocated_amount | money }}) {%- endfor -%}
{{ 'sections.cart.estimated_total' | t }}
{{ cart.total_price | money_with_currency }}
<button
type=“submit”
id=“CartDrawer-Checkout”
class=“cart__checkout-button button”
name=“checkout”
form=“CartDrawer-Form”
{% if cart == empty %}
disabled
{% endif %}
{{ ‘sections.cart.checkout’ | t }}