compared with
Current by Jooeun Lee
on Jan 17, 2012 17:02.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
After the CalculateDiscountActivity activity is run, the CalculateTotalsActivity calculates the totals for each lineitem, orderform, and shipment. It performs these calculations to apply discounts:
*  The LineItem.ExtendedPrice is calculated by multiplying the ListPrice for a SKU by the quantity being purchased and then subtracting the LineItemDiscountAmount and OrderLevelDiscountAmount.
* The OrderForm.SubTotal is the sum of the SKUs price (in this case ListPrice PlacedPrice times the Quantity minus the LineItemDiscountAmount).
* The OrderForm.Total is the sum of the subtotal, shipping charges, taxes, minus the shipping discounts and LineItem order level discounts.