@php
$now = now();
$activePrice = $product->prices->first(function ($price) use ($now) {
return $price->start_date <= $now && $price->end_date >= $now;
});
$currentPrice = $product->currentPrice();
$originalPrice = $product->msrp;
$saveAmount = $originalPrice - $currentPrice;
@endphp
@if ($product->isEnquiry())
@else
@if ($product->total_stock > 0 && !$product->is_outof_stock)
@else
@endif
@endif