| Product | Details | No. Of Products | Total | Action |
|---|---|---|---|---|
|
|
{{ $data['name'] }}
Color :
{{ $data['color'] }}
|
|
₹ {{ $data['price'] * $data['qty'] }}
|
|
|
Note* - 1) Minimum quantity of product is 5 2) Minimum total price is Rs 1000 |
||||
@if(session('cart') && count($cart_data) > 0)
@endif
Price Details
@php
$totalItems = count($cart_data);
$cartTotal = 0;
$mrp = 0;
$qty = 0;
@endphp
@foreach($cart_data as $data)
@php
$cartTotal += $data['price'] * $data['qty'];
$mrp += $data['mrp'];
$qty = $data['qty']; // Assumes all items have the same qty (matching original logic)
@endphp
@endforeach
Price ({{ $totalItems }} items)
₹ {{ $cartTotal }}
MRP
₹ {{ $mrp * $qty }}
GST Included
Grand Total
₹ {{ $cartTotal }}
Your Total Savings on this order ( ₹ {{ ($mrp * $qty) - $cartTotal }} )
Continue Shopping
@php
$cart = session('cart', []);
$cartTotal = 0;
$totalItems = 0;
foreach ($cart as $item) {
$cartTotal += $item['price'] * $item['qty'];
$totalItems += $item['qty']; // Total quantity of all items
}
@endphp
@if($cartTotal >= 1000 && $totalItems >= 5)
@endif