{{-- Shipping methods for the checkout page. Rendered inline by page.blade.php on load, and re-rendered as a fragment by CheckoutController after every address save / option change (bbk-checkout-form swaps it in). Radios autosave via bbk-checkout-form#selectShipping — no submit button. A single resolved option is auto-selected server-side and shown as a fixed line. $shippingAddress, $shippingOptions come from the controller / page scope. --}} @php($selected = $shippingAddress?->shipping_option) {{-- Rate resolution needs country (always Greece here) + postcode; until a postcode is saved there's nothing to quote against yet. --}} @if (! $shippingAddress?->postcode)

{{ __('checkout.page.shipping_method_empty') }}

@elseif ($shippingOptions->isEmpty())

{{ __('checkout.page.shipping_method_none') }}

@elseif ($shippingOptions->count() === 1) @php($only = $shippingOptions->first())
{{ $only->name }} @if ($only->description) {{ strip_tags($only->description) }} @endif {{ $only->price->formatted() }}
@else
@foreach ($shippingOptions as $option) @endforeach
@endif