@csrf @if (count($products) > 0) @foreach (Cart::instance('cart')->content() as $key => $cartItem) @php $product = $products->find($cartItem->id); @endphp @if (!empty($product)) @endif @endforeach
{{ __('Product') }} {{ __('Price') }} {{ __('Quantity') }} {{ __('Total') }}
{{ $product->original_product->name }} {{ $product->original_product->name }} @if (is_plugin_active('marketplace') && $product->original_product->store->id) @endif @if ($attributes = Arr::get($cartItem->options, 'attributes'))

{{ $attributes }}

@endif @if (EcommerceHelper::isEnabledProductOptions() && !empty($cartItem->options['options'])) {!! render_product_options_html($cartItem->options['options'], $product->front_sale_price_with_taxes) !!} @endif @include( EcommerceHelper::viewPath('includes.cart-item-options-extras'), ['options' => $cartItem->options] )
{{ __('Price') }}: {{ format_price($cartItem->price) }} @if ($product->front_sale_price != $product->price) {{ format_price($product->price) }} @endif
{!! Theme::partial( 'ecommerce.product-quantity', compact('product') + [ 'name' => 'items[' . $key . '][values][qty]', 'value' => $cartItem->qty, ], ) !!}
{{ __('Total') }}: {{ format_price($cartItem->price * $cartItem->qty) }}
@else

{{ __('Your cart is empty!') }}

@endif @if (count($products) > 0)
{{ __('Cart totals') }}
{{ __('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 code: :code', ['code' => session('applied_coupon_code')]) }} ( {{ __('Remove') }} ) {{ format_price($couponDiscountAmount) }}
@endif @if ($promotionDiscountAmount)
{{ __('Discount promotion') }}: {{ format_price($promotionDiscountAmount) }}
@endif
{{ __('Total') }}
{{ __('(Shipping fees not included)') }}
{{ $promotionDiscountAmount + $couponDiscountAmount > Cart::instance('cart')->rawTotal() ? format_price(0) : format_price(Cart::instance('cart')->rawTotal() - $promotionDiscountAmount - $couponDiscountAmount) }}
@if (session('tracked_start_checkout')) @endif
@endif
@if (! empty($crossSellProducts))

{{ __('Customers who bought this item also bought') }}

@foreach ($crossSellProducts as $crossSellProduct)
{!! Theme::partial('ecommerce.product-item', ['product' => $crossSellProduct]) !!}
@endforeach
@endif