@extends('layouts.app') @section('title', 'Shopping Cart - Saba Remedies') @section('content')

My Shopping Cart

Review your selected Unani remedies before proceeding to checkout

@if($standardItems->count() > 0 || $sbItems->count() > 0)
@foreach($standardItems as $item) @php $itemSubtotal = (float)$item->price * (int)$item->quantity; @endphp @endforeach @foreach($sbItems as $sbItem) @php $sbSubtotal = (float)$sbItem->price * (int)$sbItem->quantity; @endphp @endforeach
Item Details Price Quantity Subtotal Remove
{{ $item->prod_name ?? ($item->product->prod_name ?? 'Unani Medicine') }} @if($item->prod_size)
Pack: {{ $item->prod_size }}
@endif
₹{{ $item->price }}
₹{{ $itemSubtotal }}
@if($sbItem->sbProduct && $sbItem->sbProduct->prod_img1) @else @endif
{{ $sbItem->prod_name }} @if($sbItem->detail)
Pack: {{ $sbItem->detail->prod_quantity }} {{ $sbItem->detail->prod_quantity_type }}
@endif
₹{{ $sbItem->price }}
₹{{ $sbSubtotal }}

Order Summary

@if($appliedPromo)
Coupon: {{ $appliedPromo }}
Discount Applied: -₹{{ $discount }}
Remove
@else
@csrf
@endif
Cart Subtotal ₹{{ $subtotal }}
@if($discount > 0)
Discount -₹{{ $discount }}
@endif
Estimated Shipping Calculated at Checkout
Total Amount ₹{{ $total }}
@if(session('loggedin')) Proceed to Checkout @else Login to Checkout @endif
Guaranteed 100% safe & secure checkout
@else

Your Cart is Empty

Looks like you haven't added any authentic Unani medicines to your cart yet.

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