@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 ${{$value->price}}
@endforeach

Your tickets:

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

    ({{$value->quantity}} x ${{$value->price}})
    ${{$value->price * $value->quantity}}
  • @php $totalAmount += $value->price * $value->quantity @endphp @endforeach
  • Total

    ${{$totalAmount}}
@if(Auth::check()) Checkout Cart @else Checkout Cart @endif
s
image
@else
Cart Empty
@endif
@endsection @section('script') @endsection