{{ __('lang.orderSummary') }}
@if(isset($cart) && $cart) {{ $cart->carts_products_total_count }} {{ __('lang.items') }} {{ __('lang.inYourCart') }} @elseif(isset($order) && $order) {{-- {{ $order->orders_products_total_count }} {{ __('lang.items') }} --}} @endif

@if(isset($cart) && $cart) @foreach ($cart->items as $item)
@if($item->choice && is_array($item->choice->images) && sizeof($item->choice->images) > 0 ) {{ $item->product->trans[0]->products_title }} @else {{ $item->product->trans[0]->products_title }} @endif
{{ $item->product->trans[0]->products_title }}
@if($item->choice) @if($item->choice->attribute)
{{ __('lang.attribute') }} : {{ $item->choice->attribute->trans[0]->attributes_title }}
@endif @if($item->choice->choices)
{{ __('lang.choice') }} : @foreach($item->choice->choices as $choice) {{ $choice->trans[0]->choices_title }} @endforeach
@endif @endif @if($item->product->products_type == 'weight' && $item->product->products_lowest_weight_available && $account->accounts_show_product_type)
{{ __('lang.qty') }} : {{$item->carts_items_count }} {{__('lang.kg')}}
@else
{{ __('lang.qty') }} : {{ (int)$item->carts_items_count }}
@endif
@include('components.currency',['price'=> format_price($item->carts_items_total,$account->accounts_number_decimal_digits) ])

@endforeach @if($cart->carts_price != $cart->carts_final_cost)
{{ __('lang.cartSubtotal') }} @include('components.currency',['price'=> format_price($cart->carts_price,$account->accounts_number_decimal_digits) ,'id'=>'carts_price','class'=>'' ])
@else {{ format_price($cart->carts_price,$account->accounts_number_decimal_digits)}} @endif
{{ __('lang.shipping&Handling') }} @include('components.currency',['price'=> isset($shippingMethodSelected) && $shippingMethodSelected ? format_price($shippingMethodSelected->shipping_methods_delivery_cost,$account->accounts_number_decimal_digits) : '0' ,'id'=>'carts_delivery_cost','class'=>'' ])
{{-- @if($account->accounts_show_coupons) --}} @if($cart->carts_discount_value > 0)
{{ __('lang.discount') }} @if(isset($paymentSelected) && $paymentSelected->payments_slug == 'points' ) @include('components.currency',['price'=> format_price($cart->carts_final_cost,$account->accounts_number_decimal_digits) ,'id'=>'discount_value','class'=>'']) @else @include('components.currency',['price'=> $cart->carts_discount_value ? format_price($cart->carts_discount_value,$account->accounts_number_decimal_digits) : '0' ,'id'=>'discount_value','class'=>'']) @endif
@else 0 @endif {{-- @endif --}} @if(!isset($paymentSelected) || (isset($paymentSelected) && $paymentSelected->payments_slug != 'points') ) @if($cart->carts_total_order_products_points && $cart->carts_total_order_products_points > 0)
{{ str_contains($account->accounts_slug,'nasser') ? __('lang.points-n') : __('lang.points') }} {{ $cart->carts_total_order_products_points ? $cart->carts_total_order_products_points : '0' }} {{ str_contains($account->accounts_slug,'nasser') ? __('lang.point-n') : __('lang.point') }}
@endif @endif
{{ __('lang.cartTotal') }} @include('components.currency',['price'=> format_price($cart->carts_final_cost,$account->accounts_number_decimal_digits) ,'id'=>'carts_final_cost','class'=>'' ])
@if(isset($route) && $route) @if(session()->has('customer'))
{{-- @csrf --}} @if($info->infos_return_exchange_policy != '') @else @endif {{ __('lang.proceedTo'.$route) }}
@else {{ __('lang.proceedTo'.$route) }} @endif @endif
@elseif(isset($order) && $order)
{{ __('lang.amountPaid') }} @include('components.currency',['price'=> format_price($order->orders_final_cost,$account->accounts_number_decimal_digits) ,'id'=>'carts_price','class'=>'' ])
@if(session()->has('customer')) {{ __('lang.myOrders') }} @endif
{{ __('lang.continueShopping') }} {{-- @if($order->orders_payment_status != '2') {{ __('lang.reOrder') }} @endif --}}
@endif
@push('js') @endpush