{{--
{{ $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
{{ format_price($cartItem->price) }}
@if (get_ecommerce_setting('checkout_product_quantity_editable', true)){{ $product->original_product->name }}
{{-- ATTRIBUTES (LEFT) + PRICE & QTY (RIGHT) --}}@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