Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use get_total
Pacu20cacf5515551
diff --git a/saleor/order/emails_helpers.py b/saleor/order/emails_helpers.pyindex b126c115a1..f3ba7efcf9 100644--- a/saleor/order/emails_helpers.py+++ b/saleor/order/emails_helpers.py@@ -21,7 +21,7 @@ def get_product_data(line, currency, organization):'name': line.product_name,'sku': line.product_sku,},- 'price': line.unit_price_gross * line.quantity,+ 'price': line.get_total(),'priceCurrency': currency,'eligibleQuantity': {'@type': 'QuantitativeValue',