@extends('layouts.app') @section('content')
@if(session()->has('cart') && count(session('cart')) > 0)
@if(session()->has('cart')) @foreach(session('cart') as $key => $cartItem) @endforeach @endif
Product Price Quantity Total
{{$cartItem['price']}}
NGN {{number_format($cartItem['cost'] * $cartItem['quantity'])}}
{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}}
{{--
--}} Clear Cart {{-- --}}
Cart Totals
Subtotal NGN {{number_format(\App\Entities\Carts\Cart::totalPrice())}}.00
Delivery Fee NGN {{number_format(\App\Entities\Carts\Cart::$delivery)}}
    @if(\App\Entities\Carts\Cart::$freeShipping)
  • @endif
Total NGN {{number_format(\App\Entities\Carts\Cart::totalPrice() + \App\Entities\Carts\Cart::$delivery)}}.00
@else

Cart is Empty

You don't have any product in cart yet!

@endif
@include('includes.productfooter') @endsection