@if(Cookie::get('shopping_cart')) @php $total="0" @endphp
@foreach ($cart_data as $data)
image

{{$data['item_name'] ? : ''}}

₹{{ $data['item_price']}}M.R.P:₹{{ $data['item_discount'] }}

@php $total = $total + ($data["item_quantity"] * $data["item_price"]) @endphp

Total Price

$ {{ $data['item_quantity'] * $data['item_price'] }}
@endforeach
Subtotal : $ {{ number_format($total, 2) }}
Your order is eligible for free delivery
@if (Auth::check() && (Auth::user()->hasRole('vendor') || Auth::user()->hasRole('admin'))) {{-- --}} @else CHECK OUT @endif
@endif