diff --git a/app/entities/cart.py b/app/entities/cart.py index 1f347387..5253d137 100644 --- a/app/entities/cart.py +++ b/app/entities/cart.py @@ -186,7 +186,7 @@ def calculate_subtotal( raise CouponLimitPriceError self.discount = coupon.discount_price self.subtotal = subtotal - self.discount - if self.freight and self.freight.price: + if self.freight and self.freight.price >= 0: self.total = (subtotal + self.freight.price) - self.discount except TypeError as err: logger.error('Price or quantity not found in cart item')