@php $subtotal = 0; $flag = 1; @endphp @forelse($items as $data) @if($data->product) @php $subtotal += ($data->price - $data->total_taxes)*$data->quantity; @endphp @endif @empty @php $flag = 0; @endphp @endforelse @if($flag == 1) @endif
{{translate("Product")}} {{translate("Varient")}} {{translate("Qty")}} {{translate("Total Price")}} {{translate("Action")}}
{{$data->product->name}}

{{$data->product->name}}

@php echo show_ratings($data->product->review->avg('ratings')) @endphp
{{($data->attributes_value)}}
{{short_amount(($data->price - $data->total_taxes)*$data->quantity)}}
{{translate('No Data Found')}}
{{translate('Subtotal')}} {{short_amount($subtotal)}}
{{translate('Total')}} {{short_amount($subtotal)}}
@if($flag == 1)
{{translate('Continue Shopping')}} {{translate('CHECKOUT')}}
@endif