@if ($paymentOptions === [])
Ordering is not available right now. Please contact {{ $support['phone'] }}.
@else
@csrf

Delivery Details

@foreach ([ ['customer_name', 'Full Name', 'text', 'name', true, $buyer?->full_name ?? auth()->user()?->name, 150], ['customer_email', 'Email (optional)', 'email', 'email', false, $buyer?->email ?? auth()->user()?->email, 150], ['customer_phone', $phoneRequired ? 'Phone Number' : 'Phone Number (optional)', 'tel', 'tel', $phoneRequired, $buyer?->phone ?? auth()->user()?->phone, 30], ] as [$field, $label, $type, $autocomplete, $isRequired, $value, $maxLength])
$field !== 'customer_name'])> $errors->has($field)]) @error($field) aria-describedby="{{ $field }}-error" @enderror> @error($field)
{{ $message }}
@enderror
@endforeach {{-- A plain list without JavaScript; with it, a search box that shows "Area, District, Division" while typing. --}}
Type your area, district or division in English or বাংলা, then choose it from the list.
@error('delivery_area_id')
{{ $message }}
@enderror
{{-- The three zones and their charges. Choosing an Area picks the matching zone; the server checks they agree. --}}
Delivery Area

Set from the Area you choose.@if ($deliveryRates['freeFrom'] !== null) Free delivery on orders of ৳ {{ number_format($deliveryRates['freeFrom'], 2) }} or more.@endif

@foreach (\App\Services\CheckoutService::DELIVERY_ZONES as $zone => $zoneLabel)
$errors->has('delivery_zone')])>
@endforeach @error('delivery_zone')
{{ $message }}
@enderror
@error('shipping_address')
{{ $message }}
@enderror
@error('notes')
{{ $message }}
@enderror
Payment Method @foreach ($paymentOptions as $gateway => $label)
$errors->has('payment_gateway')])>
@endforeach @error('payment_gateway')
{{ $message }}
@enderror
    @foreach ($lines as $line)
  • {{ $line['name'] }} × {{ $line['quantity'] }}৳ {{ number_format($line['total'], 2) }}
  • @endforeach
@if ($couponError) Change the coupon in your cart @endif
@endif