@foreach($cartItem as $item) @php $n = (isset($n)?$n:0); $n++; // Check product in cart $product = $modelProduct->start()->getDetail($item->id, null, $item->storeId); if(!$product) { continue; } // End check product in cart @endphp @endforeach
No. {{ sc_language_render('product.name') }} {{ sc_language_render('product.price') }} {{ sc_language_render('product.quantity') }} {{ sc_language_render('product.subtotal') }}
{{ $n }} {{ $product->name }} {{ $product->name }}
{{ sc_language_render('product.sku') }} : {{ $product->sku }} {!! $product->displayVendor() !!}
{{-- Process attributes --}} @if ($item->options->count()) @foreach ($item->options as $groupAtt => $att) {{ $attributesGroup[$groupAtt] }}: {!! sc_render_option_price($att) !!} @endforeach @endif {{-- //end Process attributes --}}
{!! $product->showPrice() !!}
{{$item->qty}}
{{sc_currency_render($item->subtotal)}}
@push('scripts') @endpush