@extends('store.layout')
@section('title', 'Your cart')
@push('head')@endpush
@section('content')
Your cart
@error('cart')
{{ $message }}
@enderror
@if ($lines->isEmpty())
Your cart is empty
Find your next pair, then come back here to check out.
Start shopping
@else
@foreach ($lines as $l)
@kes($l->total)
@endforeach
@if ($addons->isNotEmpty())
Finish the fit
@foreach ($addons as $a)
@php($v = $a->variants->first(fn ($x) => $x->isAvailable()))
{{ $a->name }}
@kes($a->price)
@if ($v)@endif
@endforeach
@endif
@endif
@endsection