{{ __('Shopping Cart') }}

@csrf
@if (count($products) > 0)
@foreach(Cart::instance('cart')->content() as $key => $cartItem) @php $product = $products->find($cartItem->id); @endphp @if (!empty($product))
@php $lineTotal = EcommerceHelper::isTaxEnabled() ? $cartItem->priceTax * $cartItem->qty : $cartItem->price * $cartItem->qty; @endphp
{{ format_price($lineTotal) }}
@if (is_plugin_active('marketplace') && $product->original_product->store->id) @endif @if (!empty($cartItem->options['attributes']))

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

@endif @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']) && strtolower($option['key']) !== 'price')

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

@endif @endforeach @endif
{{ format_price($cartItem->price * $cartItem->qty) }}
@endif @endforeach
@else

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

@endif
@if (count($products) > 0) @endif {!! Theme::partial('cross-sell-products', compact('crossSellProducts')) !!}