{{ __('Shopping Cart') }}

@if (Cart::instance('cart')->count() > 0)
@csrf
@if (isset($products) && $products) @foreach(Cart::instance('cart')->content() as $key => $cartItem) @php $product = $products->where('id', $cartItem->id)->first(); @endphp @if (!empty($product)) @endif @endforeach @endif
{{ __('Product') }} {{ __('Price') }} {{ __('Quantity') }} {{ __('Subtotal') }}
{{ $product->original_product->name }}
{{ $product->original_product->name }} @if ($product->isOutOfStock()) ({!! $product->stock_status_html !!}) @endif

{{ $cartItem->options['attributes'] ?? '' }}

@if (!empty($cartItem->options['options'])) {!! render_product_options_info($cartItem->options['options'], $product, true) !!} @endif @if (!empty($cartItem->options['extras']) && is_array($cartItem->options['extras'])) @foreach($cartItem->options['extras'] as $option) @if (!empty($option['key']) && !empty($option['value']))

{{ $option['key'] }}: {{ $option['value'] }}

@endif @endforeach @endif
{{ format_price($cartItem->price) }} @if ($product->front_sale_price != $product->price) {{ format_price($product->price) }} @endif
{{ format_price($cartItem->price * $cartItem->qty) }}
@if ($promotionDiscountAmount) @endif @if (EcommerceHelper::isTaxEnabled()) @endif
{{ __('Sub total') }}
{{ format_price(Cart::instance('cart')->rawSubTotal()) }}
{{ __('Discount promotion') }}
{{ format_price($promotionDiscountAmount) }}
{{ __('Tax') }}
{{ format_price(Cart::instance('cart')->rawTax()) }}
{{ __('Total') }}
({{ __('Shipping fees not included') }})
{{ format_price(Cart::instance('cart')->rawTotal() - $promotionDiscountAmount - $couponDiscountAmount) }}
@if (count($crossSellProducts) > 0) @endif @else

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

@endif