@php $items = $getRecord() ->cartItems() ->with(['salable.product_option_values.product_option']) ->get(); @endphp
@forelse ($items as $item) @empty @endforelse
Producto Cantidad Precio Unitario Total
{{ $item->name }} @if ($item->salable && $item->salable->product_option_values->isNotEmpty()) @foreach ($item->salable->product_option_values as $optionValue)
{{ $optionValue->product_option->label }}: {{ $optionValue->name }}
@endforeach @endif
{{ $item->qty }} ${{ number_format($item->price, 2, '.', ',') }} ${{ number_format($item->price * $item->qty, 2, '.', ',') }}
No hay artículos en este pedido.