@extends('website.includes.master') @section('title') Checkout @endsection @section('content') @forelse($carts as $c=>$cart) @php $total_price = $total_price + ($cart->product->price*$cart->quantity); @endphp @empty @endforelse