diff --git a/src/Model/ShippingMethod.php b/src/Model/ShippingMethod.php index 41269d2..87ef8cc 100644 --- a/src/Model/ShippingMethod.php +++ b/src/Model/ShippingMethod.php @@ -51,7 +51,7 @@ public function getRate() public function getTitle() { $rate = number_format( - $this->Rate, + $this->Rate ?? 0, 2, ShopCurrency::config()->decimal_delimiter, ShopCurrency::config()->thousand_delimiter