Skip to content
Browse files

fixed bug in calculating total

  • Loading branch information...
1 parent 99a8c5e commit e7b24d08cd784059d067d4d2647d18969bd3a116 @bmac committed Oct 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cart/models.py
View
2 cart/models.py
@@ -14,7 +14,7 @@ class Meta:
def total(self):
- return self.quantity * self.product
+ return self.quantity * self.product.price
def name(self):
return self.product.name

0 comments on commit e7b24d0

Please sign in to comment.
Something went wrong with that request. Please try again.