@extends('frontend.layouts.app') @section('content')

{{ __('Cart') }}

{{ @$carts->count() }} {{__('Items In Card')}}

{{__('Continue Buying')}}
@forelse($carts as $cart) @if ($cart->consultation_slot_id) @php $relation = getUserRoleRelation($cart->consultationSlot->user) @endphp @endif @empty @endforelse
{{__('Course')}} {{ __('Type') }} {{__('Price')}} {{__('Remove')}}
@if(@$special) {{ @$special }} @endif @if($cart->course_id) course @elseif($cart->bundle_id) bundle course @elseif($cart->consultation_slot_id) Consultator @endif
@if($cart->course_id) {{ @$cart->course->title }} @elseif($cart->bundle_id) {{ @$cart->bundle->name }} @elseif($cart->consultation_slot_id) {{ @$cart->consultationSlot->user->$relation->full_name }} @endif

@if($cart->course_id) {{ @$cart->course->instructor->name }} @if(get_instructor_ranking_level(@$cart->course->user->badges)) | {{ get_instructor_ranking_level(@$cart->course->user->badges) }} @endif @elseif($cart->bundle_id) {{ @$cart->bundle->user->instructor->name }} @if(get_instructor_ranking_level(@$cart->bundle->user->badges)) | {{ get_instructor_ranking_level(@$cart->bundle->user->badges) }} @endif @elseif($cart->consultation_slot_id) {{ @$cart->consultationSlot->user->$relation->professional_title }} @if(get_instructor_ranking_level(@$cart->consultationSlot->user->badges)) | {{ get_instructor_ranking_level(@$cart->consultationSlot->user->badges) }} @endif @endif

@if($cart->course_id) @include('frontend.student.cart.partial.cart-course-rating') @elseif($cart->consultation_slot_id) @include('frontend.student.cart.partial.cart-consultator-rating') @endif
@if($cart->course_id) Course @elseif($cart->bundle_id) Bundle Offer @elseif($cart->consultation_slot_id) Consultation @endif
@if(get_currency_placement() != 'after') {{get_number_format(@$cart->price, 2)}}{{ get_currency_symbol() }} @else {{ get_currency_symbol() }}{{get_number_format(@$cart->price, 2)}} @endif
{{ method_field('DELETE') }}
{{__('No Record Found')}}
@csrf

{{__('Order Summery')}}

items ({{ $carts->count() }}) : @if(get_currency_placement() == 'after') {{ get_number_format($carts->sum('price')) }} {{ get_currency_symbol() }} @else {{ get_currency_symbol() }} {{ get_number_format($carts->sum('price')) }} @endif
{{__('Platform Charge')}} ({{get_option('platform_charge')}}%): @if(get_currency_placement() == 'after') {{get_platform_charge($carts->sum('price'))}} {{ get_currency_symbol() }} @else {{ get_currency_symbol() }} {{get_platform_charge($carts->sum('price'))}} @endif
{{ __('This is for using the platform and get support lifetime') }}
{{ __('Total') }}: @if(get_currency_placement() == 'after') {{ get_number_format($carts->sum('price') + get_platform_charge($carts->sum('price'))) }} {{ get_currency_symbol() }} @else {{ get_currency_symbol() }} {{ get_number_format($carts->sum('price') + get_platform_charge($carts->sum('price'))) }} @endif
By placing your order, you agree with our company privacy policy and conditions of use.
@if(count($carts) > 0)
@if(@Auth::user()->is_instructor()) @endif @if($subscriptionPurchaseEnable) @endif
@endif
@endsection @push('script') @endpush