{# @deprecated tag:v6.5.0 - Template `confirm-product-header.html.twig` is deprecated. Use `storefront/component/checkout/cart-header.html.twig` instead. #}
{% sw_extends '@Storefront/storefront/page/checkout/cart/cart-product-header.html.twig' %}
{% block page_checkout_cart_header_quantity %}
{% set layout = context.salesChannel.taxCalculationType == 'horizontal' ? 'col-2' : 'col-4' %}
<div class="{{ layout }} cart-header-quantity">
{{ "checkout.cartHeaderQuantity"|trans|sw_sanitize }}
</div>
{% endblock %}
{% block page_checkout_cart_header_unit_price %}
{# display tax instead of item price in confirm header #}
{% block page_checkout_cart_header_tax_price %}
{% if context.salesChannel.taxCalculationType == 'horizontal' %}
<div class="col-2 cart-header-tax-price">
{% if context.taxState == "gross" %}
{{ "checkout.cartHeaderTaxIncludeVat"|trans|sw_sanitize }}
{% else %}
{{ "checkout.cartHeaderTaxExcludeVat"|trans|sw_sanitize }}
{% endif %}
</div>
{% endif %}
{% endblock %}
{% endblock %}