@extends('web.layout.master') @section('content')
@if(!$cartItems->isEmpty())
{{--
Fast Shipping and Returns

365 days to return items for a refund!

Shipping and Return Policy
Privacy Policy

We don’t rent or sell your personal information to anyone.

Read our Privacy Policy
--}}
Item
Price/Quantity
@php $total = 0; @endphp @foreach($cartItems as $item) @php $total += ($item->price * $item->quantity); @endphp
...
{{--

Whirlpool

--}} @if(!empty($item->product_url))
{{ $item->name }}
@else
{{ $item->name }}
@endif

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

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

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

@endforeach
Proceed to Checkout
Cart Summary ({{ $totalqty }} Items)
Subtotal ({{ $totalqty }} Items)
${{ number_format($total,2); }}
@else

Your cart is empty

{{-- ... --}} Keep Shopping
@endif
@endsection