@extends('website.includes.master') @section('title') Shop @endsection @section('content') SHOW FILTERS Filter Products {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} Price Price : categories @forelse($categories as $cc=>$category) @if(isset($request->categories) && !empty($request->categories) && in_array($category->id,$request->categories)) @else @endif {{ $category->name }} @empty @endforelse FILTER RESET @forelse($allproducts as $allproduct) @if(!empty($allproduct->discount)) {{ $allproduct->discount }}% @endif @if($allproduct->stock=="in stock") @endif @if(isset(Auth::guard('websiteuser')->user()->id) && $allproduct->wishlist) @else @endif {{ $allproduct->name }} @if(!empty($allproduct->cut_price)) {{ $setting->currency_symbol }}{{ $allproduct->cut_price }} @endif {{ $setting->currency_symbol }}{{ $allproduct->price }} @empty No products available @endforelse @if ($allproducts->lastPage() > 1) @if($allproducts->currentPage() == 1) @else @endif @for ($i = 1; $i <= $allproducts->lastPage(); $i++) @if($allproducts->currentPage() == $i) {{ $i }} @else {{ $i }} @endif @endfor @if($allproducts->currentPage() == $allproducts->lastPage()) @else @endif @endif @endsection @section('script') @endsection