@if(!empty($userCarts) and count($userCarts) > 0)
@foreach($userCarts as $cart) @php $cartItemInfo = $cart->getItemInfo(); $cartTaxType = !empty($cartItemInfo['isProduct']) ? 'store' : 'general'; @endphp @if(!empty($cartItemInfo))
product title

{{ $cartItemInfo['title'] }}

@if(!empty($cartItemInfo['discountPrice'])) {{ handlePrice($cartItemInfo['discountPrice'], true, true, false, null, true, $cartTaxType) }} {{ handlePrice($cartItemInfo['price'], true, true, false, null, true, $cartTaxType) }} @else {{ handlePrice($cartItemInfo['price'], true, true, false, null, true, $cartTaxType) }} @endif @if(!empty($cartItemInfo['quantity'])) ({{ $cartItemInfo['quantity'] }} {{ trans('update.product') }}) @endif
@endif @endforeach
{{ trans('cart.total') }} {{ !empty($totalCartsPrice) ? handlePrice($totalCartsPrice, true, true, false, null, true, $cartTaxType) : 0 }}
{{ trans('cart.go_to_cart') }}
@else
{{ trans('cart.your_cart_empty') }}
@endif