@extends('layouts.front') @section('content')
@include('includes.catalog')
@if(count($products) > 0) @include('includes.filter')
@foreach($products as $prod) @include('includes.product.product') @endforeach
@if(isset($min) || isset($max))
{!! $products->appends(['cat_id' => $cat_id ,'min' => $min, 'max' => $max])->links() !!}
@elseif(!empty($sort)) @if(!empty($category_id))
{!! $products->appends(['category_id' => $category_id, 'search' => $search, 'sort' => $sort])->links() !!}
@else
{!! $products->appends(['cat_id' => $cat_id, 'min' => $min, 'max' => $max, 'sort' => $sort])->links() !!}
@endif @else
{!! $products->appends(['category_id' => $category_id, 'search' => $search])->links() !!}
@endif
@else

{{ $langg->lang60 }}

@endif
@endsection @section('scripts') @endsection