{{--
{{ $product->original_product->name }} {{ $cartItem->qty }}
{!! apply_filters('ecommerce_cart_before_item_content', null, $cartItem) !!}

{{ $product->original_product->name }} @if ($product->isOutOfStock()) ({!! BaseHelper::clean($product->stock_status_html) !!}) @endif

@if($product->variation_attributes)

@if (!empty($product->variation_attributes)) @php $attributesText = $product->variation_attributes; $attributes = []; foreach (explode(',', $attributesText) as $attr) { if (strpos($attr, ':') !== false) { [$attrKey, $attrValue] = array_map('trim', explode(':', $attr, 2)); $attributes[$attrKey] = $attrValue; } } @endphp

@foreach($attributes as $attrKey => $attrValue)
{{ ltrim($attrKey, '(') }}:{{ rtrim($attrValue, ')') }}
@endforeach
@endif

@endif @include(EcommerceHelper::viewPath('includes.cart-item-options-extras'), [ 'options' => $cartItem->options, ]) @if (!empty($cartItem->options['options'])) {!! render_product_options_html($cartItem->options['options'], $product->original_price) !!} @endif {!! apply_filters('ecommerce_cart_after_item_content', null, $cartItem) !!}

{{ format_price($cartItem->price) }}

@if (get_ecommerce_setting('checkout_product_quantity_editable', true))
{{ $cartItem->qty }}
@endif

--}}
{{ $product->original_product->name }} {{ $cartItem->qty }}
{{-- PRODUCT NAME ROW --}}

{{ $product->original_product->name }}

{{-- ATTRIBUTES (LEFT) + PRICE & QTY (RIGHT) --}}
{{-- LEFT: ATTRIBUTES --}} @if($product->variation_attributes)

@if (!empty($product->variation_attributes)) @php $attributesText = $product->variation_attributes; $attributes = []; foreach (explode(',', $attributesText) as $attr) { if (strpos($attr, ':') !== false) { [$attrKey, $attrValue] = array_map('trim', explode(':', $attr, 2)); $attributes[$attrKey] = $attrValue; } } @endphp

@foreach($attributes as $attrKey => $attrValue)
{{ ltrim($attrKey, '(') }}:{{ rtrim($attrValue, ')') }}
@endforeach
@endif

@endif {{-- RIGHT: PRICE + QTY --}}

{{ format_price($cartItem->price) }}

@if (get_ecommerce_setting('checkout_product_quantity_editable', true))
{{ $cartItem->qty }}
@endif