@php $chartFrom = request('from'); $chartBackUrl = $chartFrom === 'wishlist' ? route('customer.wishlist') : ($chartFrom === 'search' ? route('customer.search') : ($chartFrom === 'home' ? route('customer.home') : ($chartFrom === 'product' && request('product') ? route('customer.shop.produk-detail', (int) request('product')) : route('customer.shop')))); @endphp
arrow_back_ios_new

{{ __('CART') }} ({{ $count }})

shopping_bag

{{ __('Keranjang kamu masih kosong.') }}

{{ __('START SHOPPING') }}
@foreach ($items as $i) @php $pv = $i->productVariant; $pr = $pv?->product; $img = $pr?->images->first()?->file_gambar ?? ''; $name = $pr?->nama_produk ?? __('Produk'); $color = $pv?->warna ?? ''; $size = $pv?->ukuran ?? ''; $itemTotal = $i->quantity * $i->harga_snapshot; $imgUrl = $img ? (photo_url($img)) : 'https://picsum.photos/seed/cart/900/1200'; @endphp
{{ $name }}

{{ $name }}

{{ trim($color . ' / ' . $size, ' /') }}

{{ 'Rp ' . number_format($itemTotal, 0, ',', '.') }}

{{ $i->quantity }}
@endforeach
@include('customer._partials.drawer')