How to Use a Scriptor to Sum the Price of All of Items in an OrderForm (216940)
The information in this article applies to:
- Microsoft Site Server 3.0 Commerce Edition
This article was previously published under Q216940 SUMMARY
The DefaultOrderSubtotal component, which usually appears in the Order Subtotal
stage of an order processing pipeline, calculates the subtotal for an order and
stores the resulting value in the order._oadjust_subtotal member of the
OrderForm. This value represents the sum of the item._oadjust_adjustedprice
name/value pair for every item in the OrderForm?s items SimpleList. The
DefaultOrderSubtotal component cannot be used to sum the prices if the price
associated with a particular item is not reflected in the
item._oadjust_adjustedprice name/value pair. It is still possible to sum the price of the all of the items in the OrderForm. This can
be useful in situations where two prices are associated with a single item and a
sum of all prices needs to be computed.
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kbhowto KB216940 |
---|
|