{{ __('checkout.cart.empty') }}
@else-
@each('checkout::partials.cart-line', $lines, 'line')
@if ($cart?->coupon_code)
@if ($cart?->discountTotal?->value > 0)
{{ $cart->coupon_code }}
@else
@if ($couponError ?? false)
{{ __('checkout.cart.coupon_invalid') }}
@endif @endif
{{ __('checkout.cart.discount') }}
−{{ $cart->discountTotal->formatted() }}
@endif
{{ __('checkout.cart.subtotal') }}
{{ $cart?->subTotal?->formatted() }}
{{-- Always shown, even with no discount — equals subtotal then,
diverges once one's applied. --}}
{{ __('checkout.cart.total') }}
{{ $cart?->total?->formatted() }}
{{ __('checkout.cart.checkout') }}