@extends('layouts.main') @section('title', 'Cart Details') @section('main')

Cart Details

@if (count($cart) > 0)
@foreach ($cart as $item)
{{ $item['name'] }}
{{ $item['name'] }}

Brand: {{ $item['brand'] }}

Price: ${{ $item['variable_details']['listed_price'] }}

@foreach ($item['attribute_keys'] as $attributeKey)

{{ str_replace('_',' ', ucfirst($attributeKey)) }}: {{ $item['variable_details'][$attributeKey] ?? 'N/A' }}

@endforeach

Quantity:

0) max="{{ $item['variable_details']['quantity_available'] }}" @endif--}} >

@endforeach
Order Summary
{{--
--}} {{-- --}} {{-- --}} {{--
--}}
@else

Your cart is empty.

@endif
@endsection @section('scripts') @endsection