Shopping Cart
{{ $cartItems->count() }} ITEMS
@forelse($cartItems as $item)
{{ str_replace('App\\Models\\', '', $item->cartable_type) }}
{{ $item->cartable->name }}
Elite Curriculum Access
@php $price = ($item->cartable->discount_price > 0) ? $item->cartable->discount_price : ($item->cartable->price ?? 0); @endphp
${{ number_format($price, 2) }}
@empty
Your cart is empty
You haven't added any courses or modules to your cart yet.
BROWSE COURSES
@endforelse
@if($cartItems->isNotEmpty())
Order Total:
${{ number_format($total, 2) }}
@endif