{{-- ===================================================================== Mini Cart — Punjabi Mandi New UI Data contract: $cart (Cart model with items eager-loaded) ===================================================================== --}} @php $hasItems = !is_null($cart) && count($cart->items) > 0; $cartId = $cart?->id; $couponCode = $cart?->coupon_code; @endphp {{-- ── Remove Confirmation Modal ──────────────────────────────────────── --}} {{-- ── Main Container ──────────────────────────────────────────────────── --}}
{{-- ── Header ──────────────────────────────────────────────────────── --}}

Shopping Cart

{{ $hasItems ? count($cart->items) : 0 }} items
@if ($hasItems) {{-- ── Scrollable Items List ────────────────────────────────────────── --}}
@foreach ($cart->items as $item) @endforeach
{{-- ── Sticky Footer ────────────────────────────────────────────────── --}} @else {{-- ── Empty State ─────────────────────────────────────────────────── --}}
Empty cart
Your cart is currently empty.
Continue Shopping
@endif
{{-- .mc-container --}} {{-- ===================================================================== Mini-Cart Inline Scripts ===================================================================== --}} {{-- ===================================================================== Scoped Styles ===================================================================== --}}