@php $oldSessionAddressId = null; $billingAddressSameAsShippingAddress = old('billing_address_same_as_shipping_address', Arr::get($sessionCheckoutData, 'billing_address_same_as_shipping_address', true)); $showAddBillingCheckbox = ! $isShowAddressForm && ! (auth('customer')->check() && $isAvailableAddress); $addBillingInfoChecked = $showAddBillingCheckbox ? old('add_billing_info', Arr::get($sessionCheckoutData, 'add_billing_info', false)) : false; @endphp
@if ($isShowAddressForm) @elseif (auth('customer')->check() && $isAvailableAddress) @php $oldSessionAddressId = old('address.address_id', $sessionAddressId); @endphp

@elseif ($showAddBillingCheckbox) @endif
@once @include('core/base::forms.fields.phone-number-script') @endonce