@extends('layouts.app') @section('title', 'Checkout') @section('content')

💳 Checkout

Shipping Details
@csrf
{{-- PAYMENT METHOD --}}
Order Summary

@php $total = 0; @endphp @foreach ($cart->items as $item) @php $total += $item->price * $item->qty; @endphp
{{ $item->product->name ?? '' }} (x{{ $item->qty }}) ₹{{ $item->price * $item->qty }}
@endforeach
Total ₹{{ $total }}
@endsection