@php /* $layout_page = shop_compare **Variables:** - $compare: no paginate */ @endphp @extends($sc_templatePath.'.layout') @section('block_main_content_center')
{{ $title }}
@if (count($compare) ==0)
{{ sc_language_render('front.no_item') }}
@else
@php $n = 0; @endphp @foreach($compare as $key => $item) @php $n++; $product = $modelProduct->start()->getDetail($item->id, null, $item->storeId); @endphp @if ($n % 4 == 1) @endif @if ($n % 4 == 0 || $n == count($compare)) @endif @endforeach
{{ $product->name }}({{ $product->sku }})

{!! $product->showPrice() !!}
{!! $product->description !!}
$item->rowId, 'instance' => 'compare']) }}">
@endif
@endsection @push('scripts') {{-- script here --}} @endpush @push('styles') {{-- Your css style --}} @endpush