DefaultOrderSubTotalCy
Use this component to calculate the subtotal for an order.
For more information, see Currency Enhancements.
Intended use: Order Processing pipeline, Order Subtotal stage.
Values Read
The DefaultOrderSubTotalCy component reads the following values from the indicated dictionaries.
Key |
Dictionary |
Description |
---|---|---|
item._cy_oadjust_adjustedprice |
Order |
The total price of all the items after all the discounts have been applied. |
Values Written
The DefaultOrderSubTotalCy component assigns a value to the following key in the Order dictionary.
Key |
Description |
---|---|
_cy_oadjust_subtotal |
The subtotal of all the items. |
Remarks
The subtotal is calculated by summing the total cost for each item in the items SimpleList object in the Order dictionary.