@php $rupees = fn (int|float $v) => inr($v); @endphp

Your cart

@if ($totals['items'])

{{ $totals['items'] }} {{ Str::plural('item', $totals['items']) }} from {{ $totals['shipments'] }} {{ Str::plural('seller', $totals['shipments']) }}

@endif
@if ($groups->isEmpty())

Your cart is empty

Add cement, steel, plumbing and more, and check out once. We deliver to your site.

Continue shopping
@else
@if ($totals['shipments'] > 1)
Your order will arrive in {{ $totals['shipments'] }} separate shipments. You can track each delivery from your account.
@endif @foreach ($groups as $seller => $lines)
{{ $loop->iteration }}
Sold & delivered by ExpertBuildCare Delivery {{ $loop->iteration }}@if ($loop->count > 1) of {{ $loop->count }}@endif
Ships in {{ $lines->first()['product']['ships_in'] }} @php $pc = \App\Modules\Shipping\Support\Freight::enabled() ? null : ($parcels[$seller] ?? null); @endphp {{-- one EBC fare covers all deliveries --}} @if ($pc) @if ($pc['shipping'] > 0) {{ inr($pc['shipping']) }} delivery @else Free delivery @endif @if ($pc['packing'] > 0) + {{ inr($pc['packing']) }} packing @endif @if ($pc['gap'] > 0) Add {{ inr($pc['gap']) }} more to this delivery for free delivery @endif @endif
@foreach ($lines as $line) @php $p = $line['product']; @endphp
{{ $p['name'] }} @if ($p['variant_label']){{ $p['variant_label'] }}@endif @if ($p['brand']){{ $p['brand'] }}@endif {{ $rupees($p['price']) }} @if ($p['off']){{ $rupees($p['mrp']) }} {{ $p['off'] }}% off@endif
@csrf @method('PATCH')
@csrf
@csrf @method('DELETE')
{{ $rupees($line['total']) }}
@endforeach
@endforeach Continue shopping
@include('storefront.partials.order-summary', ['cta' => true])
@endif