@foreach($products as $prod)
@include('includes.product.product')
@endforeach
@if(isset($min) || isset($max))
{!! $products->appends(['min' => $min, 'max' => $max])->links() !!}
@elseif(!empty($sort))
{!! $products->appends(['sort' => $sort])->links() !!}
@else
{!! $products->links() !!}
@endif