@extends('layouts.frontend') @section('title', 'Shopping Cart') @section('content')

Shopping Cart

@if(count($items) > 0)
@foreach($items as $item) @endforeach
Product Price Quantity Subtotal Action
{{ $item['product']->name }}
{{ $item['product']->name }}
@if($item['variant']) {{ $item['variant']->size }} {{ $item['variant']->color }} @endif
${{ number_format($item['price'], 2) }}
@csrf
${{ number_format($item['subtotal'], 2) }}
@csrf @method('DELETE')
Continue Shopping
Order Summary

Subtotal: ${{ number_format($total, 2) }}
Total: ${{ number_format($total, 2) }}

@auth Proceed to Checkout @else Login to Checkout @endauth
@else

Your cart is empty

Start adding premium stitched and unstitched garments from Rathore Collection to your cart.

Continue Shopping
@endif
@push('scripts') @endpush @endsection