]> _ Git - pmi.git/commitdiff
wait #6364 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 6 Oct 2023 08:48:57 +0000 (10:48 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 6 Oct 2023 08:48:57 +0000 (10:48 +0200)
resources/views/components/cart-add.blade.php

index 5f17c01e22b71f6023ba3b3d481250ea20471198..16d944110a10945f04751e68bb81d2cb83c114f4 100644 (file)
@@ -13,8 +13,9 @@
     }
 @endphp
 
+
 @if(isset($template) && $template === "product-detail")
-    <button data-ref="{{ $reference }}" data-product-id="{{ $id }}" class="btn cart-add" :class="{ 'pointer-events-none bg-grey-disabled' : (!isNaN(price) || !statusConfig) }">
+    <button data-ref="{{ $reference }}" data-product-id="{{ $id }}" class="btn cart-add" :class="{ 'pointer-events-none bg-grey-disabled' : (!statusConfig) }">
         @elseif(isset($template) && $template === "miniature" && $options)
             <a href="{{ $link }}" class="btn text-center">
                 @else