@extends('layouts.front') @section('content')
@if($cartitems->count() > 0)

Riepilogo Ordine

@php $total = 0; @endphp @foreach ($cartitems as $item) @php $total += $item->products->price * $item->prod_qty; @endphp @endforeach
Image Prodotto Quantità Prezzo Unitario Totale
{{ $item->products->name }}
{{ $item->products->price }}
Totale 0
Procced to checkout
@else

Your Cart is empty

@endif
@endsection