My Cart

{{--
Product Added To Cart
--}}
@php $total = 0; @endphp @forelse ($cartItems as $item) @php $total += ($item->price); @endphp
...
{{--

Whirlpool

--}}
{{ $item->name }}

Product Code: {{ $item->id }}

${{ str_replace(',','',number_format($item->price,2)) }}

${{ str_replace(',','',number_format(($item->attributes->stickprice * $item->quantity),2)) }}

{{-- --}}
{{-- ... --}} Remove
@empty

Your cart is empty

{{-- ... --}}   Keep Shopping
@endforelse

Sub Total: ${{ str_replace(',','',number_format($total,2)); }}

{{-- ... --}} {{-- ... --}} Keep Shopping {{-- Continue Shopping --}} {{-- ... --}} Keep Shopping
{{-- isEmpty()) href="{{ route('checkout') }}" @endif type="button" aria-label="" >... --}} isEmpty()) href="{{ route('checkout') }}" @endif class="@if($cartItems->isEmpty()) disabled @endif btn btn-block btn-danger btn-sm setWebSiteBtnStyle" aria-label="">Checkout