Generation Z
@csrf

By continuing to payment, I agree to the Terms of Use, Refund Policy, and Privacy Policy.

@if (count($plan_data) > 0) @php $totalPrice = 0; // Initialize total price @endphp @foreach ($plan_data as $item)
@php $courseId = $item->course_id; $course = DB::table('courses')->where('id',$courseId)->first(); @endphp
{{ $course->course_title ?? ""}}
Remove from cart
@if (!empty($item->subscription_plan))

{{ $item->subscription_plan }} of Access:

₹ {{ $item->pricing }}

@else
{{--

No subscription plan available

--}}

₹ {{ $item->pricing }}

@endif

Total:

₹ {{ $item->pricing }}

@php $totalPrice += $item->pricing; // Accumulate total price @endphp @endforeach
Total Price :

₹ {{ $totalPrice }}

@else

Your Cart is Empty

@endif