{{-- Order Items --}}
{{ __('panel/order.order_items') }}
@hookupdate('panel.orders.detail.order_items') @foreach ($order->items as $item) @endforeach @foreach ($order->fees as $total) @endforeach
{{ __('panel/common.id') }} {{ __('panel/order.product') }} {{ __('panel/order.sku_code') }} {{ __('panel/order.quantity') }} {{ __('panel/order.unit_price') }} {{ __('panel/order.subtotal') }}
{{ $item->id }}
{{ $item->name }}
@if ($item->productSku->variantLabel ?? '') {{ $item->productSku->variantLabel }} @endif @if ($item->item_type_label) {{ $item->item_type_label }} @endif {{-- 显示订单项选项信息 --}} @if ($item->options && $item->options->count() > 0)
@foreach ($item->options as $option)
{{ $option->option_name_localized }}: {{ $option->option_value_name_localized }} @if ($option->price_adjustment != 0) ({{ $option->price_adjustment > 0 ? '+' : '' }}{{ $option->price_format }}) @endif
@endforeach
@endif @include('panel::orders.bundle.details')
{{ $item->product_sku }} {{ $item->quantity }} {{ $item->price_format }} {{ $item->subtotal_format }}
{{ $total->title }} {{ $total->value_format }}
{{ __('panel/order.total') }} {{ $order->total_format }}
@endhookupdate
@hookinsert('panel.orders.detail.order_items.after')