@php $total = 0; $qtyTotal = 0; @endphp @forelse ($cartItems as $item) @php $total += ($item->price); $qtyTotal += $item->quantity; @endphp
@if(!empty($item->product_url))
{{ $item->name }}
@else
{{ $item->name }}
@endif
×
Unit:
${{ str_replace(',','',number_format($item->attributes->perproductprice,2)) }}
Quantity:
{{-- --}}
Total:
${{ str_replace(',','',number_format(($item->price),2)) }}
@empty {{--

Cart is empty

--}}
Your cart is empty
{{-- ... --}} Keep Shopping
@endforelse