@extends('layouts.app') @section('title', 'Checkout - ' . ($shopSettings['shop_name'] ?? 'Orange Groceries')) @section('meta_robots', 'noindex, nofollow') @section('canonical', route('checkout.index')) @section('content')

Checkout

Cart Delivery & Payment Order Confirmation
@csrf

Select Delivery Address

Where should we deliver your order?

Add New Address

@if(!$addresses->isEmpty()) @endif
@if($addresses->count() > 0)
@foreach($addresses as $index => $address) @endforeach
@endif

Select Payment Method

Choose how you wish to pay for your groceries

Delivery Notes (Optional)

Order Summary

@foreach($cartItems as $item)
{{ $item->product->name }}
Qty: {{ $item->quantity }} × ₹{{ number_format($item->unit_price, 2) }}
₹{{ number_format($item->total_price, 2) }}
@endforeach
Subtotal ₹{{ number_format($subtotal, 2) }}
@if($discountAmount > 0)
Coupon Discount -₹{{ number_format($discountAmount, 2) }}
@endif
Delivery Charges @if($deliveryCharge == 0) FREE @else ₹{{ number_format($deliveryCharge, 2) }} @endif
@if($gstAmount > 0)
Estimated Taxes & GST ₹{{ number_format($gstAmount, 2) }}
@endif
Grand Total ₹{{ number_format($totalAmount, 2) }}
100% Safe & Secure
Fast Express Delivery
@endsection