@section('title', __('Cart'))
{{-- breadcrumb --}} @include('livewire.extensions.glover-website.components.nav-breadcrumb', [ 'links' => [ [ 'title' => __('Home'), 'url' => route('glover-website.index'), ], [ 'title' => __('Cart'), 'url' => url()->current(), ], ], ]) @empty($cartItems)

{{ __('Your cart is empty') }}

{{-- home button --}} {{ __('Go to Home') }}
@else {{-- if cart items --}}

{{ __('Cart Items') }}

{{-- large screen --}} {{-- small screen --}}
{{-- header for Product, price qty subtotal --}} {{-- body --}} @foreach ($cartItems as $cartItem) @endforeach
{{ __('Product') }} {{ __('Qty') }}
{{ $cartItem['name'] }}
{{ $cartItem['quantity'] }}
{{-- clear all --}}

{{ __('Checkout Summary') }}

{{-- subtotal --}}

{{ __('Subtotal') }}

{{ currencyFormat($subtotal) }}

{{-- apply coupon --}}
{{-- discount --}}

{{ __('Discount') }}

{{ currencyFormat($discount) }}

{{-- total --}}

{{ __('Total') }}

{{ currencyFormat($total) }}

@endempty {{-- loading --}} @include('livewire.extensions.glover-website.components.loading')