@extends(EcommerceHelper::viewPath('customers.master')) @section('title', __('Address books')) @section('content') @if($addresses->isNotEmpty())

{{ __('Your Addresses') }}

{{ __('Manage your shipping and billing addresses') }}

@foreach ($addresses as $address) @include(EcommerceHelper::viewPath('customers.address.item'), ['address' => $address]) @endforeach
@if($addresses->count() < 5)
{{ __('Need another address?') }}

{{ __('Add multiple addresses for different shipping locations or billing purposes.') }}

{{ __('Add Another Address') }}
@endif
@else @include(EcommerceHelper::viewPath('customers.partials.empty-state'), [ 'title' => __('No addresses yet!'), 'subtitle' => __('Add your first shipping or billing address to get started.'), 'actionUrl' => route('customer.address.create'), 'actionLabel' => __('Add Your First Address'), ]) @endif @endsection