@php $currentCustomer = auth()->guard('customer')->user(); @endphp @extends('shop::customers.account.index') @section('page_title') {{ __('shop::app.customer.account.address.create.page-title') }} @endsection @section('page-detail-wrapper')
{{ __('shop::app.customer.account.address.create.title') }}
{!! view_render_event('bagisto.shop.customers.account.address.create.before') !!}
@csrf {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.before') !!}
{!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.company_name.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.first_name.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.last_name.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.vat_id.after') !!} @php $addresses = old('address1') ?? explode(PHP_EOL, ''); @endphp
@if ( core()->getConfigData('customer.address.information.street_lines') && core()->getConfigData('customer.address.information.street_lines') > 1 ) @for ($i = 1; $i < core()->getConfigData('customer.address.information.street_lines'); $i++)
@endfor @endif {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.street-address.after') !!} @include ('shop::customers.account.address.country-state', ['countryCode' => old('country'), 'stateCode' => old('state')]) {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.country-state.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.city.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.postcode.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.after') !!}
{{ __('shop::app.customer.account.address.default-address') }}
{!! view_render_event('bagisto.shop.customers.account.address.create.after') !!} @endsection