@extends('frontEnd.layouts.master') @if (Route::is('category')) @section('title', $category->meta_title ?? '') @endif @section('content') view cart Home view cart @if (Route::is('category')) {{ $category->name }} @endif sort by get('sort') == 1) selected @endif>Product: Latest get('sort') == 2) selected @endif>Product: Oldest get('sort') == 3) selected @endif>Price: High To Low get('sort') == 4) selected @endif>Price: Low To High get('sort') == 5) selected @endif>Name: A-Z get('sort') == 6) selected @endif>Name: Z-A filter @include('frontEnd.layouts.ajax.filter_sidebar') @forelse ($products as $product) @empty No products available in this category! @endforelse {{ $products->links('vendor.pagination.bootstrap-4') }} @endsection