{{ __('Order number') }}: {{ $order->code }}
@foreach ($order->products as $orderProduct)
{{ $orderProduct->product_name }} {{ $orderProduct->qty }}

{!! 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

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

@if (!empty($orderProduct->product_options) && is_array($orderProduct->product_options)) {!! render_product_options_html($orderProduct->product_options, $orderProduct->price) !!} @endif @include(EcommerceHelper::viewPath('includes.cart-item-options-extras'), [ 'options' => $orderProduct->options, ])

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


@endforeach @if (!empty($isShowTotalInfo)) @include('plugins/ecommerce::orders.thank-you.total-info', compact('order')) @endif