Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update __init__.py
zauddeligd51edff25841
diff --git a/saleor/delivery/__init__.py b/saleor/delivery/__init__.pyindex 8017c404a3..35f80c9704 100644--- a/saleor/delivery/__init__.py+++ b/saleor/delivery/__init__.py@@ -34,7 +34,7 @@ class DummyShipping(BaseDelivery):return 'Dummy shipping'def get_delivery_total(self, **kwargs):- weight = sum(line.product.product.weight for line in self.group)+ weight = sum(line.product.get_weight() for line in self.group)qty = sum(line.quantity for line in self.group)return Price(qty * weight,currency=settings.DEFAULT_CURRENCY)