@if ($products->isNotEmpty())
@foreach(Cart::instance('cart')->content() as $key => $cartItem) @php $product = $products->find($cartItem->id); @endphp @continue(empty($product)) @endforeach
{{ __('Product') }} {{ __('Price') }} {{ __('Quantity') }} {{ __('Total') }}
{{ RvMedia::image($cartItem->options['image'], $product->original_product->name, 'thumb') }}
{{ $product->original_product->name }} $product->isOutOfStock(), 'text-success' => ! $product->isOutOfStock()])> @if ($product->isOutOfStock()) ({{ __('Out of stock') }}) @else ({{ __('In stock') }}) @endif
@if (is_plugin_active('marketplace') && $product->original_product->store->id) @endif
{{ $cartItem->options['attributes'] ?? '' }}
@if (EcommerceHelper::isEnabledProductOptions() && !empty($cartItem->options['options'])) {!! render_product_options_html($cartItem->options['options'], $product->price()->getPrice()) !!} @endif @include( EcommerceHelper::viewPath('includes.cart-item-options-extras'), ['options' => $cartItem->options] )
@include(EcommerceHelper::viewPath('includes.product-price')) @include(EcommerceHelper::viewPath('includes.cart-quantity')) {{ format_price($cartItem->price * $cartItem->qty) }} $cartItem->qty]) !!} >
{{ __('Subtotal') }} {{ format_price(Cart::instance('cart')->rawSubTotal()) }}
@if (EcommerceHelper::isTaxEnabled())
{{ __('Tax') }} {{ format_price(Cart::instance('cart')->rawTax()) }}
@endif @if ($couponDiscountAmount > 0 && session('applied_coupon_code'))
{{ __('Coupon') }} ({{ session('applied_coupon_code') }}) {{ __('Remove') }}
{{ format_price($couponDiscountAmount) }}
@endif @if ($promotionDiscountAmount)
{{ __('Promotion') }} {{ format_price($promotionDiscountAmount) }}
@endif
{{ __('Total') }} {{ ($promotionDiscountAmount + $couponDiscountAmount) > Cart::instance('cart')->rawTotal() ? format_price(0) : format_price(Cart::instance('cart')->rawTotal() - $promotionDiscountAmount - $couponDiscountAmount) }}
{{ __('(Shipping fees not included)') }} {{ __('Continue Shopping') }}
@else @include(EcommerceHelper::viewPath('includes.empty-state')) @endif