@extends('layouts.frontend.master') @section('title', 'BMF') @section('css') @endsection @section('style') @endsection @section('content')
image

My Cart

@if (count($cartItems) > 0)

Your tickets:

@foreach ($cartItems as $key => $value) @php $contest = $value->item; @endphp

{{ $contest->title }}

{{--
--}} {{ $value->quantity }} x {{ config('app.currency_symbol') }}{{ $value->price }}
@endforeach

Your tickets:

    @php $totalAmount = 0; @endphp @foreach ($cartItems as $key => $value) @php $contest = $value->item; @endphp
  • {{ $contest->title }}

    ({{ $value->quantity }} x {{ config('app.currency_symbol') }}{{ $value->price }})
    {{ config('app.currency_symbol') }}{{ $value->price * $value->quantity }}
  • @php $totalAmount += $value->price * $value->quantity; @endphp @endforeach
  • Total

    {{ config('app.currency_symbol') }}{{ $totalAmount }}
@if (Auth::check()) {{-- {{ route('frontend.user.checkout.cart') }} --}} Checkout Cart @else Checkout Cart @endif
image
@else
Cart Empty
@endif
@endsection @section('script') @endsection