Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix summary view

Krzysztof Wolski428cfc8126ff
diff --git a/saleor/cart/views.py b/saleor/cart/views.py
index 8e5ac0570f..ffcb53d736 100644
--- a/saleor/cart/views.py
+++ b/saleor/cart/views.py
@@ -105,7 +105,7 @@ def update(request, cart, variant_id):
def summary(request, cart):
def prepare_line_data(line):
- attributes = line.variant.product.attributes.all()
+ attributes = line.variant.product.variant_attributes.all()
first_image = line.variant.get_first_image()
price_per_item = line.get_price_per_item(discounts=request.discounts)
line_total = line.get_total(discounts=request.discounts)