@extends('layouts.app') @section('title', 'Shopping Cart - ' . ($shopSettings['shop_name'] ?? 'Orange Groceries')) @section('meta_robots', 'noindex, nofollow') @section('canonical', route('cart.index')) @section('content')

Shopping Cart

@if(count($cartItems) > 0)
@if($subtotal >= $freeThreshold) 🎉 Congratulations! You unlocked FREE Delivery! @else Add ₹{{ number_format($freeThreshold - $subtotal, 2) }} more items for FREE Delivery @endif Target: ₹{{ number_format($freeThreshold, 2) }}
@foreach($cartItems as $item)
{{ $item->product->name }}

{{ $item->product->name }}

{{ $item->variant ? $item->variant->variant_name : ($item->product->weight ?? 'Standard Pack') }}
₹{{ number_format($item->unit_price, 2) }}
@csrf {{ $item->quantity }}
₹{{ number_format($item->total_price, 2) }}
@csrf
@endforeach

Apply Promo Coupon

@if($coupon)
{{ $coupon->code }} Saved ₹{{ number_format($discountAmount, 2) }}
@csrf
@else
@csrf

Try coupon WELCOME100 (₹100 OFF on orders > ₹500)

@endif

Bill Summary

Item Subtotal ₹{{ number_format($subtotal, 2) }}
@if($discountAmount > 0)
Coupon Discount - ₹{{ number_format($discountAmount, 2) }}
@endif
Delivery Charges @if($deliveryCharge == 0) FREE @else ₹{{ number_format($deliveryCharge, 2) }} @endif
Total Amount Inclusive of all taxes
₹{{ number_format($totalAmount, 2) }}
Proceed To Checkout
@else

Your Cart is Empty

Explore our fresh grocery catalog and add items to your cart.

Start Shopping
@endif
@endsection