@extends('layouts.main') @section('content')
@if(isset($pendingcart) && count($pendingcart) > 0)
@php $ifdelivery = 1; @endphp
@foreach($pendingcart as $item) @php if($item->delivery_type == 2){ $ifdelivery = 2; } @endphp @endforeach
Remove Image Product Name Quantity Delivery method Subtotal Grandtotal

{{$item->name}} @if($item->attrib) ( {{$item->attrib->value}} ) @endif

@if($item->delivery_type == 2) Delivery @else Pickup @endif @if(Auth::check()) @if(Auth::user()->currency->is_currency_fixed == '1') {{transform_product_price($item->price, 1) }} @else {{ transform_product_price($item->price, Auth::user()->currency->rate ) }}{{Auth::user()->currency->currency}} @endif @endif @if(Auth::user()->currency->is_currency_fixed == '1') {{transform_product_price(($item->price * $item->qty), 1) }} @else {{ transform_product_price(($item->price * $item->qty), Auth::user()->currency->rate ) }} {{Auth::user()->currency->currency}} @endif
@if(isset($pendingcart) && count($pendingcart) > 0)
Subtotal @if(Auth::check()) @if(Auth::user()->currency->is_currency_fixed == '1') @php echo $pendingcartsum ? transform_product_price($pendingcartsum[0], 1) : '0' @endphp @else @php echo $pendingcartsum ? transform_product_price($pendingcartsum[0], Auth::user()->currency->rate ). ' '. Auth::user()->currency->currency : '0' @endphp @endif @endif
@if($ifdelivery == 1) @elseif($ifdelivery == 2) PROCEED TO CHECKOUT @endif
@endif
@else

Your Cart is empty

@endif
@endsection @push('style') @endpush @push('script') @endpush