@if (Cart::instance('cart')->count() > 0) @php $products = Cart::instance('cart')->products(); @endphp @if (count($products)) @foreach(Cart::instance('cart')->content() as $key => $cartItem) @php $product = $products->find($cartItem->id); @endphp @if (!empty($product))
{{ $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 {{ $cartItem->qty }} x {{ format_price($cartItem->price) }} @if ($product->front_sale_price != $product->price) {{ format_price($product->price) }} @endif
@endif @endforeach @endif @else

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

@endif
@if (Cart::instance('cart')->count() > 0) @endif