@extends('web.layout.default') @section('page_title') | {{ trans('labels.checkout') }} @endsection @section('content')
@if (count($getcartlist) > 0) @php $totaltax = 0; $order_total = 0; $total_item_qty = 0; $totalcarttax = 0; @endphp @foreach ($taxArr['tax'] as $k => $tax) @php $rate = $taxArr['rate'][$k]; $totalcarttax += (float) $taxArr['rate'][$k]; @endphp @endforeach @foreach ($getcartlist as $item) @php $total_price = ($item['item_price'] + $item['addons_total_price'] + $item['extras_total_price']) * $item['qty']; $order_total += (float) $total_price; $total_item_qty += $item['qty']; @endphp @endforeach