@extends('frontend.frontend_layout') @section('content')

Checkout

Shopping Cart

{{-- --}} @php $totalPrice = 0; @endphp @foreach ($getCartItems as $item) {{-- --}} @php $totalPrice = $totalPrice + ($item->product->price * $item->quantity); @endphp @endforeach
Image Product NameMenuPrice Qty Total
@if (isset($item->product->image) && file_exists($item->product->image)) @else @endif {{ $item->product->name }}Fish$ {{ $item->product->price }} {{ $item->quantity }} $ {{ $item->product->price * $item->quantity }}
Total: $ {{ $totalPrice }}

Payment Method

@if ($errors->any()) @endif
@csrf
{{--
--}}
@endsection {{-- // $(".show_search_product").html(result); --}} @section('page-scripts') @endsection