@extends('layouts.frontend') @section('seo') @if(auth()->check()) {{ auth()->user()->name }} 's Cart @else Cart @endif @endsection @section('content')

My Cart ({{ Cart::content()->count() }})

@forelse(Cart::content() as $index => $item) @empty @endforelse
Product Details Price Quantity Action

${{ $item->model->price }}

@if($item->model->quantity > 0)
@csrf @method('PATCH')
-
@if($item->model->quantity == $item->qty) + @else + @endif
@endif
@csrf @method('DELETE')
No item is in cart
Continue Shopping @if(Cart::content()->count() > 0) Remove All @endif

Price details

Price ({{ Cart::content()->count() }} items)

${{$newSubtotal}}

Total:

${{$newSubtotal}}

@if(Cart::content()->count() > 0) @endif
icon
@endsection @section("scripts") @endsection