@extends('templates.'.sc_store('template').'.shop_layout')
@section('main')
{{ $title }}
@if (count($cart) ==0)
@foreach($cart as $item)
@php
$n = (isset($n)?$n:0);
$n++;
$product = App\Models\ShopProduct::find($item->id);
@endphp
No.
{{ trans('product.sku') }}
{{ trans('product.name') }}
{{ trans('product.price') }}
{{ trans('product.quantity') }}
{{ trans('product.total_price') }}
{{ trans('cart.delete') }}
@endforeach
{{ $n }}
{{ $product->sku }}
{{ $product->getName() }}
{{-- Process attributes --}}
@if ($item->options->count())
(
@foreach ($item->options as $keyAtt => $att)
{{ $attributesGroup[$keyAtt] }}: {{ $att }} ;
@endforeach
)
@endif
{{-- //end Process attributes --}}
{!! $product->showPrice() !!}
{{sc_currency_render($item->subtotal)}}
$item->rowId])}}">