@if (isset($shipping) && $shipping)
@if (
core()->getConfigData('customer.settings.address.street_lines')
&& core()->getConfigData('customer.settings.address.street_lines') > 1
)
@for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++)
@endfor
@endif
@auth('customer')
{{ __('shop::app.checkout.onepage.save_as_address') }}
@endauth
@elseif (isset($billing) && $billing)
@if (! auth()->guard('customer')->check())
@include('shop::checkout.onepage.customer-checkout')
@endif
@if (
core()->getConfigData('customer.settings.address.street_lines')
&& core()->getConfigData('customer.settings.address.street_lines') > 1
)
@for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++)
@endfor
@endif
@if ($cart->haveStockableItems())
validateForm('address-form'), 0)">
{{ __('shop::app.checkout.onepage.use_for_shipping') }}
@endif
@auth('customer')
{{ __('shop::app.checkout.onepage.save_as_address') }}
@endauth
@endif