@ -7,7 +7,10 @@ class CartItem(object):
def __init__(self, item_variant, count, id=None, request=None):
self.item = item_variant
self.price = int(item_variant.get_price(request.user))
if request:
else
self.price = int(item_variant.get_price())
self.count = int(count)
self.subtotal = self.get_price() * self.count