Order Summary
Ordering as guest for Pickup at 2150 Robertson Rd
Your store opens: March 18 2024, 11:00 am
@if(session()->get('cart'))
@php $totalPrice = 0; @endphp
@foreach(session()->get('cart') as $key => $item)
@php
$totalPrice = $totalPrice + $item['total']
@endphp
{{$item['quantity']}}x {{$item['name']}}
Selections:
@foreach($item as $innerKey => $topings)
@if($innerKey == 'thickness' && ($topings && count($topings))) Thickness - ${{ array_sum($topings) }} @endif
@if($innerKey == 'sauce' && ($topings && count($topings))) Sauce - ${{ array_sum($topings) }}@endif
@if($innerKey == 'cheese' && ($topings && count($topings))) Cheese ${{ array_sum($topings) }} @endif
@if($innerKey == 'meat' && ($topings && count($topings))) Meat - ${{ array_sum($topings) }} @endif
@if($innerKey == 'veggies' && ($topings && count($topings))) Veggies - ${{ array_sum($topings) }}@endif
@endforeach
@endforeach
Subtotal${{ $totalPrice }}
Order Total
${{ $totalPrice }}
@else
Cart is Empty
@endif