@include('components.err') @if(cardCount() == 0 )
{{__("There is nothing added to card!")}}
@else {{-- count 0--}}
@csrf check()) :addresses='@json(auth('customer')->user()->addresses)' @endif card-link="{{route('client.product-card-toggle','')}}/" discount-link="{{route('client.card.discount','')}}/" product-link="{{route('client.product','')}}/" :transports='@json(transports())' :def-transport="{{defTrannsport()}}" :can-pay="{{!auth('customer')->check() || auth('customer')->user()->mobile == null || auth('customer')->user()->mobile == '' || auth('customer')->user()->addresses()->count() == 0?'false':'true'}}" :translate='{{vueTranslate([ 'shopping-card' => __('Shopping card'), 'transport' => __('Transport'), 'discount-pay' => __('Payment & discount'), 'total-price' => __('Total price'), 'image' => __('Image'), 'name' => __('Name'), 'quantity' => __('Quantity'), 'price' => __('Price'), 'count' => __('Count'), 'sent-to' => __('Sent to'), 'check-dis' => __('Check discount'), 'check' => __('Check'), 'extra-desc' => __('Extra description'), 'your-msg' => __('Your message for this order...'), 'pay-now' => __('Pay now'), 'plz' => __('Please, Login or complete information to pay'), ])}}' >
@if(!auth('customer')->check()) {{__("You need to sign in/up to continue")}} @else {{__("Welcome back")}}: {{auth('customer')->user()->name}} @if(auth('customer')->user()->mobile == null || auth('customer')->user()->mobile == '' || auth('customer')->user()->addresses()->count() == 0) {{__("You need complete your information")}} @endif @endif
@endif {{-- count 0--}}