From aaadf09b509694fb8fcdf40a9a4867bfee64dece Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Fri, 19 Jan 2024 15:11:15 +0100 Subject: [PATCH 1/2] Write shorter sentence --- 10/umbraco-commerce/key-concepts/order-calculation-state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10/umbraco-commerce/key-concepts/order-calculation-state.md b/10/umbraco-commerce/key-concepts/order-calculation-state.md index a318187901b..ee68ff09939 100644 --- a/10/umbraco-commerce/key-concepts/order-calculation-state.md +++ b/10/umbraco-commerce/key-concepts/order-calculation-state.md @@ -62,7 +62,7 @@ public class OrderLineCalculation } ``` -From the `OrderCalculation` object you can access the different order prices, including order line calculations. The order line calculations are stored in a dictionary where the key is the order lines ID, and the value is an `OrderLineCalculation` object holding the calculated prices. +From the `OrderCalculation` object you can access the different order prices, including order line calculations. The order line calculations are stored in a dictionary. In this dictionary, the key is the order line's ID, and the value is an `OrderLineCalculation` object holding the calculated prices. By using the prices from the `OrderCalculation` object you can ensure that your calculation is based on the most up-to-date values for the order. From 4e3cb7f7eb648243e54923566a1f50f333d5aa93 Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Fri, 19 Jan 2024 15:13:42 +0100 Subject: [PATCH 2/2] Update v12 & 13 --- 12/umbraco-commerce/key-concepts/order-calculation-state.md | 2 +- 13/umbraco-commerce/key-concepts/order-calculation-state.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/12/umbraco-commerce/key-concepts/order-calculation-state.md b/12/umbraco-commerce/key-concepts/order-calculation-state.md index a318187901b..ee68ff09939 100644 --- a/12/umbraco-commerce/key-concepts/order-calculation-state.md +++ b/12/umbraco-commerce/key-concepts/order-calculation-state.md @@ -62,7 +62,7 @@ public class OrderLineCalculation } ``` -From the `OrderCalculation` object you can access the different order prices, including order line calculations. The order line calculations are stored in a dictionary where the key is the order lines ID, and the value is an `OrderLineCalculation` object holding the calculated prices. +From the `OrderCalculation` object you can access the different order prices, including order line calculations. The order line calculations are stored in a dictionary. In this dictionary, the key is the order line's ID, and the value is an `OrderLineCalculation` object holding the calculated prices. By using the prices from the `OrderCalculation` object you can ensure that your calculation is based on the most up-to-date values for the order. diff --git a/13/umbraco-commerce/key-concepts/order-calculation-state.md b/13/umbraco-commerce/key-concepts/order-calculation-state.md index a318187901b..ee68ff09939 100644 --- a/13/umbraco-commerce/key-concepts/order-calculation-state.md +++ b/13/umbraco-commerce/key-concepts/order-calculation-state.md @@ -62,7 +62,7 @@ public class OrderLineCalculation } ``` -From the `OrderCalculation` object you can access the different order prices, including order line calculations. The order line calculations are stored in a dictionary where the key is the order lines ID, and the value is an `OrderLineCalculation` object holding the calculated prices. +From the `OrderCalculation` object you can access the different order prices, including order line calculations. The order line calculations are stored in a dictionary. In this dictionary, the key is the order line's ID, and the value is an `OrderLineCalculation` object holding the calculated prices. By using the prices from the `OrderCalculation` object you can ensure that your calculation is based on the most up-to-date values for the order.