<div class="thumbnail">
    <a href="{{ route('product.details', $product->slug) }}">
        <img src="@if (file_exists(public_path() . '/uploads/product/' . $product->image)) {{ asset('uploads/product/' . $product->image) }}@else{{ asset('/icon/no-img-cat.png') }} @endif"
            alt="{{ $product->title }}"
            onerror="this.onerror=null; this.src='{{ asset('/icon/no-img-cat.png') }}';">
    </a>
</div>