@extends('user.user_dashboard') @section('home') @php $products = App\Models\Product::where('status', 1)->where('language_id', 1)->filter(request(['search']))->get(); @endphp
{{-- --}}
@unless(count($products) == 0)
@foreach ($products as $product) @endforeach
@else

No Product found

@endunless
@endsection