@if (session()->has('success_message'))
@endif
{{ session()->get('success_message') }}
@endif
@if(count($errors) > 0)
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
@if(auth()->user()->cart->count() > 0)
@endif
Order Summary
@foreach (auth()->user()->cart as $item)
@endforeach
{{ $item->product->name }}
{{ $item->product->details }}
${{ $item->price }}
{{ $item->quantity }}
@endforeach
Subtotal | Delivery charge | Total |
---|---|---|
$ {{$cart->sum('price')}} | $ 2.00 | $ {{ $cart->sum('price') + 2.00 }} |