@ -52,7 +52,7 @@ class Cart(object):
variation, j['count'], j['id'])
self.items.append(item)
self.total += int(item.subtotal)
self.weight += variation.weight
self.weight += variation.weight * j['count']
return self
def serialize_items(self):