{!! Form::error('name', $errors) !!}
{!! Form::error('phone', $errors) !!}
{!! Form::error('zip_code', $errors) !!}
{!! Form::error('email', $errors) !!}
{!! Form::error('address', $errors) !!}
@if (EcommerceHelper::isUsingInMultipleCountries())
{!! Form::customSelect('country', EcommerceHelper::getAvailableCountries(), old('country', $address->country), ['id' => 'country', 'data-type' => 'country']) !!}
{!! Form::error('country', $errors) !!} @else @endif
@if (EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation()) {!! Form::customSelect('country', EcommerceHelper::getAvailableStatesByCountry(old('country', $address->country)), old('state', $address->state), ['id' => 'state', 'data-type' => 'state', 'data-url' => route('ajax.states-by-country')]) !!} @else @endif {!! Form::error('state', $errors) !!}
@if (EcommerceHelper::useCityFieldAsTextField()) @else {!! Form::customSelect('city', EcommerceHelper::getAvailableStatesByCountry(old('state', $address->state)), old('city', $address->city), ['id' => 'city', 'data-type' => 'city', 'data-url' => route('ajax.cities-by-state')]) !!} @endif {!! Form::error('city', $errors) !!}