@php use App\Models\Page; @endphp
@if(config('shop.shop_compare')) @endif @if(config('shop.shop_wishlist')) @endif
@if(session('cart')) {{ count((array) session('cart')) }} @endif @if(session('cart')) @php $cart = session('cart', []); $totalCartValue = array_reduce($cart, function($carry, $item) { return $carry + ($item['price'] * $item['quantity']); }, 0); @endphp
    @foreach(session('cart') as $id => $details)
  • @if($details['img_01'] !== NULL && Storage::exists($details['img_01']))
    @else
    @endif

    {{$details['name']}}

    {{$details['quantity']}} × {{ priceView($details['price'], true) }}

  • @endforeach
@endif
{{--
--}} {{-- --}} {{-- --}} {{--
--}}