{!! BaseHelper::clean($orderProduct->product_name) !!}
{{-- {{ Arr::get($orderProduct->options, 'attributes', '') }} --}} @if(!empty(Arr::get($orderProduct->options, 'attributes', ''))) @php $attributesText = Arr::get($orderProduct->options, '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($orderProduct->price) }}