@extends('layouts.app') @section('content') @php $cart_count = Cart::count(); $cart_subtotal = Cart::subtotal(); $cart_total = Cart::total(); @endphp
@if($cart_count > 0)
@include('layouts.session')

You have {{$cart_count > 1 ? $cart_count.' items' : $cart_count.' item'}} in your cart

@forelse(Cart::content() as $key => $cart) @empty @endforelse
  Product Price Remove
{{$cart->options->product_name}} {{$cart->name}} ({{$cart->options->product_category}}) {{ $cart->price + 0 }} {{getCurrency()}}
@method('delete') @csrf
No product in your cart
Cart Totals
Cart Subtotal {{$cart_subtotal + 0}} {{getCurrency()}}
Total {{ $cart_subtotal + 0}} {{getCurrency()}}
Proceed To CheckOut {{--@if(Auth::user()) Proceed To CheckOut @else Proceed To CheckOut @endif--}}
@else
No product in your cart
Continue Shopping
@endif
@endsection @push('js') @endpush