diff --git a/backend/product/models.py b/backend/product/models.py index 21dd88d..da0ed8c 100644 --- a/backend/product/models.py +++ b/backend/product/models.py @@ -308,7 +308,7 @@ class ProductVariant(models.Model): @property def price_after_discount(self): - return self.price * (self.discount / 100) + return self.price - self.discount_amount @property def discount_amount(self):