hi,
i made a discount i.e. buy anything and get 40% discount on order
total. but it is not working :cry: . here's what the log file says:
PIPELINE:++ component[0x7] about to be called ProgID:
Commerce.OrderDiscount.1
RootObject: ReadValue _currency_decimal_places VT_I4 2 VT_EMPTY __empty__
RootObject: ReadValue _discounts VT_NULL __null__ VT_EMPTY __empty__
RootObject: WriteValue _discounts VT_EMPTY __empty__ VT_DISPATCH PV=[0xe168a9c]
RootObject: ReadValue items VT_DISPATCH PV=[0xe19aa48] VT_EMPTY __empty__
RootObject: WriteValue _event VT_EMPTY __empty__ VT_BSTR SOLD
RootObject: WriteValue _winners VT_EMPTY __empty__ VT_DISPATCH PV=[0xe19a580]
RootObject: ReadValue orderlevel_discounts_applied VT_DISPATCH PV=[0xe1995d0] VT_EMPTY __empty__
RootObject: ReadValue discounts_clicked VT_NULL __null__ VT_EMPTY __empty__
Items: ReadItem 0 VT_DISPATCH PV=[0xe199700] VT_EMPTY __empty__
: ReadValue quantity VT_I4 1 VT_EMPTY __empty__
: ReadValue _n_unadjusted VT_I4 1 VT_EMPTY __empty__
: ReadValue _cy_oadjust_adjustedprice VT_CY 0 VT_EMPTY __empty__
: ReadValue _cy_iadjust_currentprice VT_CY 19.97 VT_EMPTY __empty__
: ReadValue discounts_applied VT_NULL __null__ VT_EMPTY __empty__
_winners: AddItem 1 VT_EMPTY __empty__ VT_I4 8
: WriteValue _cy_oadjust_adjustedprice VT_CY 0 VT_CY 0
: WriteValue _n_unadjusted VT_I4 1 VT_I4 1
: WriteValue discounts_applied VT_EMPTY __empty__ VT_NULL __null__
RootObject: WriteValue _orderleveldiscount_type VT_EMPTY __empty__ VT_I4 2
RootObject: WriteValue _cy_orderleveldiscount_value VT_EMPTY __empty__ VT_CY 40
RootObject: WriteValue _orderleveldiscount_description VT_EMPTY __empty__ VT_BSTR Discount
Try
RootObject: WriteValue _orderlevel_discounts_detail VT_EMPTY __empty__ VT_DISPATCH PV=[0xe1dafa8]
RootObject: WriteValue orderlevel_discounts_applied VT_DISPATCH PV=[0xe1995d0] VT_DISPATCH PV=[0xe1dad88]
orderlevel_discounts_applied: ReadValue 8 VT_DATE 6/21/2005 1:59:25
PM VT_EMPTY __empty__
RootObject: WriteValue _discounts_trace_info VT_EMPTY __empty__ VT_BSTR Discount
tracing session started at: 6/21/2005 2:04:39 PM
Total number of discounts: 1
Basket contains: 1 lines
No context profile.
Sorted discounts:
0. Id = 8
BUY 0.00(q), CondExprId=0; GET 0 at 40.00(%), AwardExprId=0 ;
OL=-1, Djoint=0, CC=0, CA=0, AC=0, AA=0
Running engine for discount Id = 8
Discount_Id=8: Basket lines sorted for conditions
0: Basket line index 0
Discount_Id=8: Basket lines sorted for awards
0: Basket line index 0
Discount Id = 8 is a winner.
PIPELINE:-- component [0x7] returned hr: 0x0, IErrorLevel=1 in 0
milliseconds
PIPELINE:++ component[0x8] about to be called ProgID:
Commerce.RequiredOrderAdjustPriceCy.1
RootObject: ReadValue _currency_compatibility VT_NULL __null__ VT_EMPTY __empty__
RootObject: ReadValue _currency_decimal_places VT_I4 2 VT_EMPTY __empty__
RootObject: ReadValue _currency_lcid VT_I4 0 VT_EMPTY __empty__
RootObject: ReadValue Items VT_DISPATCH PV=[0xe19aa48] VT_EMPTY __empty__
: ReadValue _cy_oadjust_adjustedprice VT_CY 0 VT_EMPTY __empty__
: ReadValue _oadjust_adjustedprice VT_I4 0 VT_EMPTY __empty__
: ReadValue _cy_iadjust_currentprice VT_CY 19.97 VT_EMPTY __empty__
: ReadValue _iadjust_currentprice VT_I4 1997 VT_EMPTY __empty__
: ReadValue quantity VT_I4 1 VT_EMPTY __empty__
: ReadValue _n_unadjusted VT_I4 1 VT_EMPTY __empty__
: WriteValue _oadjust_adjustedprice VT_I4 0 VT_I4 1997
: WriteValue _cy_oadjust_adjustedprice VT_CY 0 VT_CY 19.97
: WriteValue _oadjust_discount VT_EMPTY __empty__ VT_I4 0
: WriteValue _cy_oadjust_discount VT_EMPTY __empty__ VT_CY 0
PIPELINE:-- component [0x8] returned hr: 0x0, IErrorLevel=1 in 0
milliseconds
PIPELINE:++ component[0x9] about to be called ProgID:
Commerce.DefaultOrderSubTotalCy.1
RootObject: ReadValue _currency_decimal_places VT_I4 2 VT_EMPTY __empty__
RootObject: ReadValue Items VT_DISPATCH PV=[0xe19aa48] VT_EMPTY __empty__
: ReadValue _cy_oadjust_adjustedprice VT_CY 19.97 VT_EMPTY __empty__
RootObject: WriteValue _cy_oadjust_subtotal VT_NULL __null__ VT_CY 19.97
PIPELINE:-- component [0x9] returned hr: 0x0, IErrorLevel=1 in 0
milliseconds
PIPELINE:++ component[0xA] about to be called ProgID:
Commerce.RequiredOrderSubTotalCy.1
RootObject: ReadValue _currency_compatibility VT_NULL __null__ VT_EMPTY __empty__
RootObject: ReadValue _currency_decimal_places VT_I4 2 VT_EMPTY __empty__
RootObject: ReadValue _currency_lcid VT_I4 0 VT_EMPTY __empty__
RootObject: ReadValue _cy_oadjust_subtotal VT_CY 19.97 VT_EMPTY __empty__
RootObject: ReadValue _oadjust_subtotal VT_NULL __null__ VT_EMPTY __empty__
RootObject: WriteValue _oadjust_subtotal VT_NULL __null__ VT_I4 1997
PIPELINE:-- component [0xA] returned hr: 0x0, IErrorLevel=1 in 0
milliseconds
PIPELINE:-- 2005/06/21 14:04:39.0054 Pipeline Execution completed
returning hr: 0x0
i: 0xB
hrLoop: 0x0
*plErrorLevel: 1


|