@if($cart && $cart->carts_products_total_count && $cart->carts_products_total_count > 0)
{{--
{{ __('lang.shoppingCart') }}
--}}
@foreach ($cart->items as $item) @include('cart.components.cart-item',['item'=>$item]) @endforeach
@if(isset($setting) && $account->accounts_show_product_associations && $setting->show_product_associations_in_cart) @include('includes.frequently-bought-together', ['cartsId' => $cart->carts_id ?? null]) @endif
@include('cart.components.additional-notes',['cart'=>$cart]) @if($account->accounts_show_coupons) @include('cart.components.coupon-input',['cart'=>$cart, 'couponMessage'=>$couponMessage ?? null]) @endif @if(($account->accounts_show_points && $cart->carts_total_order_products_points && $cart->carts_total_order_products_points > 0) || (isset($setting) && isset($setting->cashback_value) && $setting->cashback_value && $account && $account->accounts_show_cashback == '1'))
{{__('lang.completeOrderToEarn')}}:
    @if($account->accounts_show_points && $cart->carts_total_order_products_points && $cart->carts_total_order_products_points > 0)
  • {{ $cart->carts_total_order_products_points ? $cart->carts_total_order_products_points : '0' }} {{ strpos($account->accounts_slug,'nasser') ? __('lang.points-n') : __('lang.points') }}
  • @endif @if(isset($setting) && isset($setting->cashback_value) && $setting->cashback_value && $account && $account->accounts_show_cashback == '1' && ($setting->allow_cashback_on_discounted_products || !allItemsHasOffers($cart)) && ($setting->allow_cashback_on_coupons || $cart->carts_discount_value == 0) )
  • {{ $setting->cashback_value }}% {{ $setting->allow_cashback_on_discounted_products ? __('lang.cashbackCartDesc1') : __('lang.cashbackCartDesc') }}
  • @endif
@endif @include('cart.components.proceed-to-checkout',['cart'=>$cart]) {{-- @include('cart.components.payment-summary',['cart'=>$cart,'page'=>'cart']) --}}
@else @include('cart.components.empty-cart') @endif @include('cart.components.cart-helpers-js')