@extends('fontend_master') @section('content') @php $slider = DB::table('sliders')->first(); @endphp home All Products Category list @php $category = DB::table('categories')->get(); $productHighRange = DB::table('products')->min('selling_price'); @endphp @foreach ($category as $category) {{-- {{$category->category_name}} --}} {{ $category->category_name }} @endforeach {{-- close --}} Price Range @csrf Availability In Stock Pre Order Up Coming @php $brand = DB::table('brands')->get(); @endphp Compatible Brand @foreach ($brand as $item) {{ $item->brand_name }} @endforeach Filter All Products Show: 20 24 48 75 90 Sort By: Default Price (Low > High) Price (High > Low) Loading... @foreach ($products as $item) @include('frontend.pages.product_item') @endforeach {!! $products->links('pagination::bootstrap-4') !!} Showing {{ $products->firstItem() }} to {{ $products->lastItem() }} of {{ $products->total() }} ({{ $products->lastPage() }} Pages) {{-- --}} @endsection
Showing {{ $products->firstItem() }} to {{ $products->lastItem() }} of {{ $products->total() }} ({{ $products->lastPage() }} Pages)