@extends('storefront.layout') @section('title', 'Your cart') @section('content')

Wholesale order

Your cart

@if (isset($minimumOrderMet) && $minimumOrderMet)

You're all set—you've reached the ${{ number_format($minimumOrder, 0) }} minimum. Continue to checkout to complete payment.

Free Shipping Across the U.S.

@else

Review quantities, add any missing products, and move to checkout when the order is complete.

@endif
@if (! $cart->items->isEmpty())

Current subtotal

${{ number_format($cart->subtotal(), 2) }}

@endif
@if (isset($minimumOrderMet) && ! $minimumOrderMet) @php $minimumProgress = $minimumOrder > 0 ? min(100, round(($cart->subtotal() / $minimumOrder) * 100)) : 100; @endphp

Minimum order: ${{ number_format($minimumOrder, 2) }}

Add ${{ number_format($minimumOrderRemaining, 2) }} more to proceed to checkout.

@endif @if (session('cart_success'))
{{ session('cart_success') }}
@endif @if (session('cart_error'))
{{ session('cart_error') }}
@endif @foreach ($notices as $n)
{{ $n }}
@endforeach @if ($cart->items->isEmpty())

Your cart is empty.

Start from the catalog and build your retail order by category.

@else
@foreach ($cart->items as $item) @endforeach
Product SKU Unit price Qty Line total
@if ($item->product?->image_url) {{ $item->product->title }} @else
@endif
{{ $item->product?->title }}
@if ($item->variant?->title && $item->variant->title !== 'Default Title')
{{ $item->variant->title }}
@endif
{{ $item->variant?->sku }} ${{ number_format((float) $item->unit_price, 2) }}
@csrf @method('PATCH')
${{ number_format($item->lineTotal(), 2) }}
@csrf @method('DELETE')
Need more for this order? Return to the catalog and add more products to your cart. Add more items
Subtotal ${{ number_format($cart->subtotal(), 2) }}
Continue shopping @if (! isset($minimumOrderMet) || $minimumOrderMet) Proceed to checkout @else Proceed to checkout @endif
@endif
@endsection