02-09-05 12:47 PM
I believe that the OrderDiscount component has the primary responsibility
for evaluating the order and all of the defined discounts and determining
for which discounts the order qualifies. In addition, OrderDiscount handles
actually applying all item-level discounts.
OrderLevelDiscountApply does not evaluate the discounts to see if they
apply. It works with the results that OrderDiscount has already determined.
OrderLevelDiscountApply is simply responsible for applying all relevant
order-level discounts (as determined by OrderDiscount) to the items in the
order. (There's documentation covering how order-level discounts are
distributed at the item level.)
The third component is ShippingDiscountAdjust. Like OrderLevelDiscountApply,
it relies on OrderDiscount having determined what discounts should be
applied. ShippingDiscountAdjust is responsible for applying all shipping
discounts.
Does that clear things up at all?
Zoe
"Jimut" <jimutbasa@yahoo.com> wrote in message
news:a873b67444ed02203596492974ac5b31@lo
calhost.talkaboutsoftware.com...
> Hi,
> In the Order adjust price stage of Basket pipeline
> there are two component :
> 1. OrderDiscount
> 2. OrderLevelDiscountApply
>
> Can you please tell me what is the difference between these two
> components. Is it line that the first (OrderDiscount) is responsible for
> item level discount and the second one at order total vel. From the
> documentation I am not exactly getting how different are they and in which
> condition they are applicable.
>
> Regards,
> Jimut.
>
[ Post a follow-up to this message ]
|