Womens
Haze USA Encore Full Zip
Fleece Jacket
{% if product.subtotal %}
{{ product.subtotal | money | remove: ' ' }}
{% else %}
{% assign discount_amount = variant.price | divided_by: variant.compare_at_price | times: -100 | plus: 100 | round %}
{% assign discount_threshold = 10 %}
{% if variant.available %}
{{variant.price | money}}
{% if variant.price != variant.compare_at_price and variant.compare_at_price > 0 %}{{variant.compare_at_price | money}}{% endif %}
{% else %}
{{variant.price | money}}
{% if variant.price != variant.compare_at_price and variant.compare_at_price > 0 %}{{variant.compare_at_price | money}}{% endif %}
{% endif %}
{% endif %}
{% capture payment_count %}4{% endcapture %}
{% capture payment_text %}Or [ count ] interest-free payments of [ payment ] with ((klarna 40x16)) or ((afterpay 16x16)){% endcapture %}
{% capture link_1 %}https://cdn.klarna.com/1.0/shared/content/legal/terms/0/en_us/sliceitinx{% endcapture%}
{% capture link_2 %}https://www.afterpay.com/en-US/installment-agreement{% endcapture%}
{% capture link_3 %}{% endcapture%}
{% capture image_1 %}//cdn.shopify.com/s/files/1/0080/6777/6627/files/klarna_pane.webp?v=1655396621{% endcapture%}
{% capture image_2 %}//cdn.shopify.com/s/files/1/0080/6777/6627/files/Afterpay.png?v=1655396632{% endcapture%}
{% capture image_3 %}//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif{% endcapture%}
{% assign payment_price = variant.price | divided_by: payment_count | money %}
{% assign payment_details_text = payment_text | replace: '[ count ]', payment_count | replace: '[ payment ]', payment_price | split: '((' %}
{% assign icon_count = 0 %}
{% for segment in payment_details_text %}
{% assign icon_segment = segment | split: '))' %}
{% assign icon = false %}
{% if segment contains "))" %}
{% assign icon_info = icon_segment | first | split: ' ' %}
{% assign icon = icon_info | first | strip %}
{% assign icon_width = icon_info | last | split: 'x' | first | strip %}
{% assign icon_height = icon_info | last | split: 'x' | last | strip %}
{% assign text = icon_segment | last %}
{% assign icon_count = icon_count | plus: 1 %}
{% case icon_count %}
{% when 1 %}
{% assign payment_image = image_1 %}
{% assign payment_link = link_1 %}
{% when 2 %}
{% assign payment_image = image_2 %}
{% assign payment_link = link_2 %}
{% when 3 %}
{% assign payment_image = image_3 %}
{% assign payment_link = link_3 %}
{% endcase %}
{% if payment_image != blank %}
{% else %}
{{ icon }} Icon
{% endif %}
{% if icon_segment.size > 1 %}
{{ text }}
{% endif %}
{% else %}
{{ segment }}
{% endif %}
{% endfor %}