fixed bug

master
A1Gard 3 weeks ago
parent 62028c6f99
commit 58962bf448

@ -71,7 +71,7 @@
</p> </p>
</div> </div>
<div class="mt-4">&nbsp;</div> <div class="mt-4">&nbsp;</div>
@if($product->stock_quantity == 'IN_STOCK') @if($product->stock_status == 'IN_STOCK')
@if($product->quantities()->count()>0) @if($product->quantities()->count()>0)
<quantities-add-to-card <quantities-add-to-card

@ -111,7 +111,7 @@
</a> </a>
<div class="mt-1">&nbsp;</div> <div class="mt-1">&nbsp;</div>
@if($product->stock_quantity == 'IN_STOCK') @if($product->stock_status == 'IN_STOCK')
@if($product->quantities()->count()>0) @if($product->quantities()->count()>0)
<quantities-add-to-card <quantities-add-to-card

@ -49,7 +49,7 @@
@endif @endif
</div> </div>
<br> <br>
@if($product->stock_quantity == 'IN_STOCK') @if($product->stock_status == 'IN_STOCK')
@if($product->quantities()->count()>0) @if($product->quantities()->count()>0)
<quantities-add-to-card <quantities-add-to-card

@ -27,7 +27,7 @@
</span> </span>
</div> </div>
<div class="p-2"> <div class="p-2">
@if($product->stock_quantity == 'IN_STOCK') @if($product->stock_status == 'IN_STOCK')
<a href="{{ route('client.product-card-toggle',$product->slug) }}" <a href="{{ route('client.product-card-toggle',$product->slug) }}"
class="btn btn-primary add-to-card"> class="btn btn-primary add-to-card">
<i class="ri-shopping-bag-3-line"></i> <i class="ri-shopping-bag-3-line"></i>

@ -4,7 +4,7 @@
<img src="{{$product->thumbUrl2()}}" class="img-2" alt="{{$product->name}}" loading="lazy"> <img src="{{$product->thumbUrl2()}}" class="img-2" alt="{{$product->name}}" loading="lazy">
<div class=""> <div class="">
<div class="btns"> <div class="btns">
@if($product->stock_quantity == 'IN_STOCK') @if($product->stock_status == 'IN_STOCK')
<a href="{{ route('client.product-card-toggle',$product->slug) }}" <a href="{{ route('client.product-card-toggle',$product->slug) }}"
class="btn btn-primary add-to-card"> class="btn btn-primary add-to-card">
<i class="ri-shopping-bag-3-line"></i> <i class="ri-shopping-bag-3-line"></i>

@ -27,7 +27,7 @@
</span> </span>
</div> </div>
<div class="p-2"> <div class="p-2">
@if($product->stock_quantity == 'IN_STOCK') @if($product->stock_status == 'IN_STOCK')
<a href="{{ route('client.product-card-toggle',$product->slug) }}" <a href="{{ route('client.product-card-toggle',$product->slug) }}"
class="btn btn-primary add-to-card"> class="btn btn-primary add-to-card">
<i class="ri-shopping-bag-3-line"></i> <i class="ri-shopping-bag-3-line"></i>

Loading…
Cancel
Save