|
Home > Archive > Content Selection Framework > February 2005 > Difference between OrderDiscount & OrderlevelDiscountApply component
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Difference between OrderDiscount & OrderlevelDiscountApply component
|
|
|
| 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.
| |
| Zoe Hart [MVP] 2005-02-09, 7:47 am |
| 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.
>
|
|
|
|
|