@php $total = 0; @endphp @foreach (Session::get('cart') as $key => $cartItem) @php $product = \App\Product::find($cartItem['id']); $total = $total + $cartItem['price']*$cartItem['quantity']; $product_name_with_choice = $product->name; if ($cartItem['variant'] != null) { $product_name_with_choice = $product->name.' - '.$cartItem['variant']; } @endphp @endforeach
{{ translate('Product')}} {{ translate('Price')}} {{ translate('Quantity')}} {{ translate('Total')}}
{{ $product_name_with_choice }} {{ single_price($cartItem['price']) }}
{{ single_price($cartItem['price']*$cartItem['quantity']) }}
@if(Auth::check()) {{ translate('Continue to Shipping')}} @else @endif
@include('frontend.partials.cart_summary')