@php /* $layout_page = shop_item_list **Variables:** - $itemsList: paginate Use paginate: $itemsList->appends(request()->except(['page','_token']))->links() */ @endphp @extends($sc_templatePath.'.layout') @section('block_main_content_center')
{{ $title }}
@if ($itemsList->count()) @foreach ($itemsList as $item)
{{-- Render item single --}} @include($sc_templatePath.'.common.item_single', ['item' => $item]) {{-- //Render item single --}}
@endforeach {{-- Render pagination --}} @include($sc_templatePath.'.common.pagination', ['items' => $itemsList]) {{--// Render pagination --}} @else {!! sc_language_render('front.no_item') !!} @endif
@endsection @push('scripts') {{-- //script here --}} @endpush @push('styles') {{-- Your css style --}} @endpush