generated from boboko/starter
price function global (needs review)
This commit is contained in:
@@ -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