Your cart ({{ session('cart') ? count(session('cart')) : 0 }})
-
@php $shipping_cost_value = 0; @endphp
@if(count($cart_data) > 0)
@foreach($cart_data as $data)
@php $shipping_cost_value += $data['shipping_cost'] * $data['qty']; @endphp
-
₹ {{ $data['price'] }} (Qty: {{ $data['qty'] }})
{{ strlen($data['name']) > 25 ? substr($data['name'], 0, 25) : $data['name'] }}
Brief description
@endforeach
@endif
- Subtotal ₹ {{ collect($cart_data)->sum(fn($item) => $item['price'] * $item['qty']) }}
- Reseller value ₹ {{ $customer_payment }}
- Order Total ₹ {{ number_format( collect($cart_data)->sum(fn($item) => $item['price'] * $item['qty']) + $customer_payment, 2 ) }}
Billing address
@php
$res_id = session('reseller_id');
@endphp
@if ($fetch_basic != null && count($fetch_basic) > 0)
@foreach ($fetch_basic as $basic)
@php
$add_id = $basic->id;
$res_id = session('reseller_id');
@endphp
@endforeach
@else
No address is found, kindly add address
@php $res_id = session('reseller_id'); @endphp @endif