@if(count($data) > 0)
@foreach ($data as $item)
@include('frontend.components.products.item1',[ 'item' => $item ]) {{--

{{$item->name}}

@if($item->price > 0) {{number_format($item->price)}}đ @if($item->old_price > 0) {{number_format($item->old_price)}}đ @endif @else Liên hệ @endif
--}}
@endforeach
@if(method_exists($data, 'links') && $data->hasPages()) {!! $data->appends(request()->all())->links() !!} @endif @else Đang cập nhật dữ liệu! @endif