price function global (needs review)
This commit is contained in:
1 parent
e46276a31b
commit
7677d10821
8 files changed
+65
-7
No files matched your search
@@ -152,7 +152,7 @@ class="absolute bottom-6 right-8 text-white text-sm"
|
||||
|
||||
@if($product->variants->first()?->prices->isNotEmpty())
|
||||
<p class="text-2xl font-bold" data-product-form-target="price">
|
||||
€{{ number_format($product->variants->first()->prices->first()->price->decimal, 2) }}
|
||||
<x-ui.price :amount="$product->variants->first()->prices->first()->price->decimal" />
|
||||
</p>
|
||||
@endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user