diff --git a/src/Traits/HasPrices.php b/src/Traits/HasPrices.php index 5ebde25d..ed6d5049 100644 --- a/src/Traits/HasPrices.php +++ b/src/Traits/HasPrices.php @@ -79,6 +79,6 @@ public function isFree(): bool { $price = $this->getPrice(); - return is_null($price) || $price === 0; + return is_null($price) || $price === 0.0; } }