@extends("front/layout.master") @section('title','Shipping Address - Checkout |') @section("body")
{{ __('staticwords.Home') }}
{{ __('staticwords.Checkout') }}
{{ __('staticwords.ShippingAddress') }}
@guest
1
{{ __('staticwords.Login') }} @else
{{ __('staticwords.LoggedIn') }} @endguest
@auth
{{ Auth::user()->name }}
{{ Auth::user()->email }}
@endauth
2
{{ __('staticwords.ShippingInformation') }}
{{ __('staticwords.AddNewAddress') }}
@csrf
@if(count($addresses)) @foreach($addresses as $address)
defaddress == 1) {{ 'checked' }} @endif required type="radio" name="seladd" value="{{ $address->id }}"/>
{{$address->name}}, {{ $address->phone }}
@if($address->defaddress == 1)
{{ __('staticwords.Default') }}
@endif
{{ strip_tags($address->address) }},
{{ $address->getcity ? $address->getcity->name : '' }},{{ $address->getstate->name }},{{ $address->getCountry->nicename }} {{ $address->pin_code }}
@endforeach @else
{{ __('staticwords.Noaddress') }}
@endif
@if(Auth::user()->addresses->count()>0)
{{ __('staticwords.DeliverHere') }}
@endif
3
{{ __('staticwords.BillingInformation') }}
4
{{ __('staticwords.OrderReview') }}
5
{{ __('staticwords.Payment') }}
{{ __('staticwords.PaymentDetails') }}
{{ __('staticwords.Subtotal') }}
{{price_format($total*$conversion_rate,2)}}
{{ __('staticwords.Shipping') }}
@if($shippingcharge !=0)
{{price_format($shippingcharge*$conversion_rate,2)}} @else
{{ __('staticwords.Free') }}
@endif
@if(Auth::check() && App\Cart::isCoupanApplied() == 1)
{{ __('staticwords.Discount') }}
-
{{price_format(App\Cart::getDiscount()*$conversion_rate,2)}}
@endif
{{ __('staticwords.Total') }}
@if(!App\Cart::isCoupanApplied() == 1)
{{price_format($grandtotal*$conversion_rate)}}
@else
{{price_format($grandtotal-App\Cart::getDiscount()*$conversion_rate)}}
@endif
{{-- Address Modal start --}}
×
{{ __('staticwords.AddNewAddress') }}
@php $ifadd = count(Auth::user()->addresses); @endphp
@csrf
{{ __('staticwords.Name') }}:
*
{{ __('staticwords.PhoneNo') }}
*
{{ __('staticwords.Email') }}:
*
{{ __('staticwords.Address') }}:
*
@if ($pincodesystem == 1)
{{ __('staticwords.Pincode') }}:
*
@endif
{{ __('staticwords.Country') }}
*
{{ __('staticwords.PleaseChooseCountry') }}
@foreach($all_country as $c)
{{$c->nicename}}
@endforeach
{{ __('staticwords.State') }}
*
{{ __('staticwords.PleaseChooseState') }}
{{ __('staticwords.City') }}
*
{{ __('staticwords.PleaseChooseCity') }}
{{ __('staticwords.SetDefaultAddress') }}
{{ __('staticwords.ADD') }}
{{-- Address Modal End --}}
@endsection @section('script')