@extends('layouts.app') @section('title', 'Shopping Cart') @section('content')
Home / Shopping Bag

Your Shopping Cart

@if(empty($cart['lines']))
🛍️

Your Bag is Empty

Looks like you haven't added any fresh sneakers or footwear yet. Check out our newest drops!

Explore Footwear Collection →
@else
@if($cart['free_shipping_gap'] > 0) Add ₹{{ number_format($cart['free_shipping_gap'], 2) }} more to unlock FREE Express Delivery! @else 🎉 Congratulations! You have unlocked FREE Express Delivery. @endif {{ $cart['free_shipping_progress'] }}%
@foreach($cart['lines'] as $line) @php($img = $line['product']->primaryImage())
@if($img) @else
👟
@endif
{{ $line['product']->category->name ?? 'Footwear' }}

{{ $line['product']->name }}

@if($line['size']) Size: {{ $line['size'] }} @endif @if($line['color']) Color: {{ $line['color'] }} @endif
₹{{ number_format($line['product']->price, 2) }} @if($line['product']->original_price > $line['product']->price) ₹{{ number_format($line['product']->original_price, 2) }} @endif
@csrf @method('PATCH')

₹{{ number_format($line['line_total'], 2) }}

@csrf @method('DELETE')
@endforeach

🏷️ Apply Promo Voucher

Available: STEP10, FREESHIP
@if(!empty($cart['coupon']))
✓ {{ $cart['coupon']['code'] }}: {{ $cart['coupon']['label'] }}
@csrf @method('DELETE')
@else
@csrf
@endif

Order Summary

Bag Subtotal ₹{{ number_format($cart['subtotal'], 2) }}
@if($cart['discount_total'] > 0)
Original Price Discount -₹{{ number_format($cart['discount_total'], 2) }}
@endif @if(!empty($cart['coupon_discount']) && $cart['coupon_discount'] > 0)
Coupon Savings ({{ $cart['coupon']['code'] }}) -₹{{ number_format($cart['coupon_discount'], 2) }}
@endif
Estimated GST (18%) ₹{{ number_format($cart['tax_total'], 2) }}
Shipping Fee @if($cart['shipping_fee'] == 0) FREE @else ₹{{ number_format($cart['shipping_fee'], 2) }} @endif
Grand Total ₹{{ number_format($cart['grand_total'], 2) }}
@auth Proceed to Checkout → @else Login to Complete Order → @endauth

🔒 256-Bit SSL Encrypted Simulated Checkout

⚡ 7-Day Hassle-Free Size Replacement

@endif @endsection