@php $total = 0; @endphp @if (count($guestCart) > 0) @foreach ($guestCart as $cartKey => $item) @php $productsData = new \App\Model\Products(); $productsData->setConnection('mysql2'); $productObj = $productsData->where('id', $item['product_id'])->first(); @endphp @php $total += $item['total_price']; @endphp @endforeach @else @endif
{{ __('front.product') }} {{ trans('front.qty') }} {{ __('front.price') }} {{ __('front.myorders_total') }} #
{{ @$productObj->item_name }}
{{ @$productObj->item_name }}
-
+
{{ $item['price'] }} {{ trans('front.KD') }} {{ $item['total_price'] }} {{ trans('front.KD') }}
{{ trans('cart.empty') }}
@if (count($guestCart) > 0)
  • @lang('front.taotalsCart')
    {{ $total }} {{ trans('front.KD') }}
@lang('front.pay_as_guest') @lang('front.login_to_checkout')
@endif