@extends('layouts.app') @section('content')
First slide

Confirm Your Purchase

@forelse($cartItems as $item)
img

{{ $item->name }}

@if(isset($item->options['width_ft']) && isset($item->options['length_ft']))

Width (ft): {{ $item->options['width_ft'] }} x Length (ft): {{$item->options['length_ft'] }}

@endif @if(isset($item->options['variations']) && count($item->options['variations']) > 0) @foreach($item->options['variations'] as $key => $variation) @if($variation['price'])

{{ $key }}: {{ $variation['value'] }} | ${!! \App\Http\Controllers\CartController::showItemPrice($variation) !!}

@else

{{ $key }}: {{ $variation['value'] }}

@endif @endforeach @endif
${{ $item->price * $item->qty }}
@if(!($item->options['is_fixed_quantity'] ?? 0))
@endif
@empty

Data not found

@endforelse
@endsection @section('script') @endsection