|
|
|
@ -4,11 +4,19 @@
|
|
|
|
|
<img src="{{$product->thumbUrl2()}}" class="img-2" alt="{{$product->name}}" loading="lazy">
|
|
|
|
|
<div class="">
|
|
|
|
|
<div class="btns">
|
|
|
|
|
@if($product->stock_quantity == 'IN_STOCK')
|
|
|
|
|
<a href="{{ route('client.product-card-toggle',$product->slug) }}"
|
|
|
|
|
class="btn btn-primary add-to-card">
|
|
|
|
|
<i class="ri-shopping-bag-3-line"></i>
|
|
|
|
|
{{__("Add to card")}}
|
|
|
|
|
</a>
|
|
|
|
|
@else
|
|
|
|
|
<a
|
|
|
|
|
class="btn btn-primary disabled">
|
|
|
|
|
<i class="ri-shopping-bag-3-line"></i>
|
|
|
|
|
{{__("Not available")}}
|
|
|
|
|
</a>
|
|
|
|
|
@endif
|
|
|
|
|
<a class="btn btn-outline-dark compare-btn text-dark" data-slug="{{$product->slug}}"
|
|
|
|
|
data-bs-custom-class="custom-tooltip"
|
|
|
|
|
data-bs-toggle="tooltip" data-bs-placement="top"
|
|
|
|
|