@extends('website.includes.master') @section('title') Shop @endsection @section('content')

Filter Products


categories

    @forelse($categories as $cc=>$category)
  • @if(isset($request->categories) && !empty($request->categories) && in_array($category->id,$request->categories)) @else @endif

  • @empty @endforelse


Reset
@forelse($allproducts as $allproduct)
@if(!empty($allproduct->discount))
{{ $allproduct->discount }}%
@endif product images
    @if($allproduct->stock=="in stock")
  • @endif

{{ $allproduct->name }}

    @if(!empty($allproduct->cut_price))
  • ${{ $allproduct->cut_price }}
  • @endif
  • ${{ $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