{{__('coupons.My Cart')}}

@if(count($carts)==0)

{{__('common.No Item found')}}

@else @php $totalSum=0; @endphp @if(isset($carts)) @foreach ($carts as $key=>$cart) @php if (isset($cart->bundle_course_id) && $cart->bundle_course_id!=0){ $thumbnail=$cart->bundle->thumbnail; $price=$cart->bundle->price; $link=route('bundle.show').'?id='.$cart->bundle_course_id; $title =$cart->bundle->title; }else{ $thumbnail =$cart->course->thumbnail; $link =route('courseDetailsView',$cart->course->slug); $title =$cart->course->title; if ($cart->course->discount_price!=null) { $price = $cart->course->discount_price; } else { $price = $cart->course->price; } } $totalSum = $totalSum + @$price; @endphp
{{getPriceFormat($price)}}
@endforeach @endif @endif
@if(count($carts)!=0) @endif