@if(!in_array(request()->route()->getName(), ['frontend.shopping-cart.index']))
    @foreach(getCartContent() as $k => $item)
  1. Author
    @if($item->attributes->product_type == 'product') {{ $item->attributes->product->title }} @else {{ generateVariantProductData($item->attributes->product->product, $item->attributes->product->id, $item->attributes->selectedOptionsValue)['name'] }} @endif
    x {{ $item->quantity }} {{ $item->price }} {{ __('apps::frontend.master.kwd') }}
  2. @endforeach
@endif
{{ __('catalog::frontend.cart.subtotal') }} {{ number_format(getCartSubTotal(), 3) }} {{ __('apps::frontend.master.kwd') }}
@if(Cart::getCondition('company_delivery_fees'))
{{ __('catalog::frontend.checkout.shipping') }} {{ number_format(Cart::getCondition('company_delivery_fees')->getValue(), 3) }} {{ __('apps::frontend.master.kwd') }}
{{ __('catalog::frontend.checkout.delivery_time_note') }} {{ Cart::getCondition('company_delivery_fees')->getAttributes()['delivery_time_note'][locale()] ?? '---' }}
@endif
@if(!in_array(request()->route()->getName(), ['frontend.checkout.index']))
@if((\Cart::getCondition('coupon_discount') == null || \Cart::getCondition('coupon_discount')->getValue() == 0) && (is_null(getCartItemsCouponValue()) || getCartItemsCouponValue() == 0))
@csrf {{----}}
@endif
@endif
@if(\Cart::getCondition('coupon_discount') != null && \Cart::getCondition('coupon_discount')->getValue() != 0)
{{ __('catalog::frontend.cart.coupon_value') }} {{ number_format(abs(Cart::getCondition('coupon_discount')->getValue()), 3) }} {{ __('apps::frontend.master.kwd') }}
@endif @if(!is_null(getCartItemsCouponValue()) && getCartItemsCouponValue() != 0)
{{ __('catalog::frontend.cart.coupon_value') }} {{ number_format(getCartItemsCouponValue(), 3) }} {{ __('apps::frontend.master.kwd') }}
@endif