@php /* $layout_page = shop_item_list **Variables:** - $subCategory: paginate Use paginate: $subCategory->appends(request()->except(['page','_token']))->links() - $itemsList: paginate Use paginate: $itemsList->appends(request()->except(['page','_token']))->links() */ @endphp @extends($GP247TemplatePath.'.layout') {{-- block_main_content_center --}} @section('block_main_content_center')
@if (count($itemsList))
@include($GP247TemplatePath.'.common.pagination_result', ['items' => $itemsList]) @php $view = gp247_shop_process_view($GP247TemplatePath, 'common.shop_product_filter_sort'); @endphp @include($view, ['filterSort' => $filter_sort])
@foreach ($itemsList as $key => $item)
@php $view = gp247_shop_process_view($GP247TemplatePath, 'common.shop_item_single'); @endphp @include($view, ['item' => $item])
@endforeach
@include($GP247TemplatePath.'.common.pagination', ['items' => $itemsList]) @else

{!! gp247_language_render('front.no_item') !!}

@endif
@endsection {{-- //block_main_content_center --}} @push('styles') @php $view = gp247_shop_process_view($GP247TemplatePath, 'common.shop_css'); @endphp @include($view) @endpush @push('scripts') @endpush