RequiredOrderSubtotalCy, RequiredOrderSubtotal
Use this component to ensure that the subtotal of all items in the item list of an order exist so that order totals are properly calculated.
The RequiredOrderSubtotal component is for backward compatibility only. The RequiredOrderSubtotalCy component operates in both Site Server 3.0 Commerce Edition compatibility mode and in Commerce Server 2000 mode pipelines. For more information, see Currency Enhancements.
Intended use: Order Processing pipeline, Order Subtotal stage.
Configuration Values
None.
Values Read
The RequiredOrderSubtotalCy component reads the following value from the indicated dictionary. The RequiredOrderSubtotal component reads the same key but without cy_
.
Key | Dictionary | Description |
_cy_oadjust_subtotal |
Order | The subtotal of all items in the item list of the order. |
Values Written
None.
Remarks
Both the RequiredOrderSubtotalCy and RequiredOrderSubtotal components check the _oadjust
_subtotal
key in the OrderForm object to ensure that the value assigned to it is not NULL.
The RequiredOrderSubtotalCy component is visible in the Pipeline Editor only when the Editor is run in expert mode.