{{-- Single popup checkout used everywhere on the site (home, product page, landing pages). No separate checkout route/page — this is it. --}} @php $checkoutFields = \App\Models\CheckoutField::where('is_active', true)->orderBy('sort_order')->get(); $deliveryAreas = \App\Models\DeliveryArea::where('is_active', true)->orderBy('name')->get(); @endphp

Your Order

@csrf @foreach($checkoutFields as $field)
@if($field->type === 'textarea') @elseif($field->type === 'select') @elseif($field->type === 'checkbox') @else is_required ? 'required' : '' }} class="w-full border rounded-lg px-3 py-2 text-sm"> @endif
@endforeach @if($deliveryAreas->count()) @endif

@if(!empty($siteSettings['checkout_tick_text'] ?? null)) @endif
Subtotal
Delivery
Total