@if (session()->has('success_msg'))
{{ session('success_msg') }}
@endif @if (session()->has('error_msg'))
{{ session('error_msg') }}
@endif @if (isset($errors) && count($errors->all()) > 0)
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@endif @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 ($product) @endif @endforeach @endif
{{ __('Product') }} {{ __('Price') }} {{ __('Quantity') }} {{ __('Total') }}
{{ $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_html($cartItem->options['options'], $product->original_product->front_sale_price_with_taxes) !!} @endif @include('plugins/ecommerce::themes.includes.cart-item-options-extras', ['options' => $cartItem->options])
{{ format_price($cartItem->price) }} @if ($product->front_sale_price != $product->price) {{ format_price($product->price) }} @endif
{{ format_price($cartItem->price * $cartItem->qty) }}
@include('plugins/ecommerce::themes.discounts.partials.form')

{{ __('Cross-selling products') }}

@if (count($crossSellProducts) > 0) @endif

{{ __('Total') }}

@if ($promotionDiscountAmount) @endif
{{ __('Subtotal') }} {{ format_price(Cart::instance('cart')->rawSubTotal()) }}
{{ __('Discount promotion') }} {{ format_price($promotionDiscountAmount) }}
{{ __('Total') }} {{ format_price(Cart::instance('cart')->rawTotal() - $promotionDiscountAmount - $couponDiscountAmount) }}
@endif