|
Home > Archive > Content Selection Framework > December 2004 > Discounts not working - problem setting up
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 |
Discounts not working - problem setting up
|
|
|
| I'm just wondering if someone can help me troubleshoot this issue.
I'm using the new Solution site.
I've set up a campaign (08/12/2004 - 31/01/2005)
i've set up a discount for 5% off on orders over $75.00
The expression is User Type = Registered User
Basket limit 0
Award limit 0
I purchase 4 items @ 24.20 for a total of 96.80. The discount never shows up
in the basket. It actually never gets processed by the pipeline component.
Let me know if you need more info.
Thanks a million.
This is basket pipeline dump: (only discount related portion)
PIPELINE:++ component[0x7] about to be called ProgID: Commerce.OrderDiscount.1
RootObject: ReadValue _currency_decimal_
places VT_NULL __null__ VT_EMPTY __empty
__
RootObject: ReadValue _currency_lcid VT_
I4 0 VT_EMPTY __empty__
RootObject: ReadValue _discounts VT_NULL
__null__ VT_EMPTY __empty__
RootObject: WriteValue _discounts VT_EMP
TY __empty__ VT_DISPATCH PV=[0xaff4104]
RootObject: ReadValue items VT_DISPATCH
PV=[0xaebe5a0] VT_EMPTY __empty__
RootObject: WriteValue _event VT_EMPTY _
_empty__ VT_BSTR SOLD
RootObject: WriteValue _winners VT_EMPTY
__empty__ VT_DISPATCH PV=[0xaff44f0]
RootObject: ReadValue orderlevel_discoun
ts_applied VT_NULL __null__ VT_EMPTY __e
mpty__
RootObject: ReadValue discounts_clicked
VT_NULL __null__ VT_EMPTY __empty__
Items: ReadItem 0 VT_DISPATCH PV=[0xaebe6c0] VT_EMPTY __empty__
: ReadValue quantity VT_I4 4 VT_EMPTY __
empty__
: ReadValue _n_unadjusted VT_I4 4 VT_EMP
TY __empty__
: ReadValue _cy_oadjust_adjustedprice VT
_CY 0 VT_EMPTY __empty__
: ReadValue _cy_iadjust_currentprice VT_
CY 24.2 VT_EMPTY __empty__
: ReadValue discounts_applied VT_NULL __
null__ VT_EMPTY __empty__
: WriteValue _cy_oadjust_adjustedprice V
T_CY 0 VT_CY 0
: WriteValue _n_unadjusted VT_I4 4 VT_I4
4
: WriteValue discounts_applied VT_EMPTY
__empty__ VT_NULL __null__
RootObject: WriteValue orderlevel_discou
nts_applied VT_EMPTY __empty__ VT_NULL _
_null__
PIPELINE:-- component [0x7] returned hr: 0x0, IErrorLevel=1 in 15 milliseconds
PIPELINE:++ component[0x8] about to be called ProgID:
Commerce.OrderLevelDiscountApply.1
RootObject: ReadValue _currency_decimal_
places VT_NULL __null__ VT_EMPTY __empty
__
RootObject: ReadValue _currency_lcid VT_
I4 0 VT_EMPTY __empty__
RootObject: ReadValue items VT_DISPATCH
PV=[0xaebe5a0] VT_EMPTY __empty__
Items: ReadItem 0 VT_DISPATCH PV=[0xaebe6c0] VT_EMPTY __empty__
: ReadValue quantity VT_I4 4 VT_EMPTY __
empty__
: ReadValue _n_unadjusted VT_I4 4 VT_EMP
TY __empty__
: ReadValue _cy_iadjust_currentprice VT_
CY 24.2 VT_EMPTY __empty__
: ReadValue _cy_oadjust_adjustedprice VT
_CY 0 VT_EMPTY __empty__
RootObject: ReadValue _orderlevel_discou
nts_detail VT_NULL __null__ VT_EMPTY __e
mpty__
PIPELINE:-- component [0x8] returned hr: 0x0, IErrorLevel=1 in 0 milliseconds
| |
| David Messner [MSFT] 2004-12-10, 5:50 pm |
| Set _trace_discounts = true in the pipeline context dictionary and
recapture the log. You'll see extended tracing information. (see the
reference page for OrderDiscount in the documentation for details).
Did you check and make sure the parent campaing is active?
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.
--------------------
Thread-Topic: Discounts not working - problem setting up
thread-index: AcTdtmv5pPd3xtbETcGinaZboNswJw==
X-WBNR-Posting-Host: 69.17.40.37
From: "=?Utf-8?B?Si5GLg==?=" <JF@discussions.microsoft.com>
Subject: Discounts not working - problem setting up
Date: Wed, 8 Dec 2004 22:15:03 -0800
Lines: 55
Message-ID: <BBEB1A9A-8111-4359-90E4-E9A1E962B3B9@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.campaigns_csf
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2912
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
I'm just wondering if someone can help me troubleshoot this issue.
I'm using the new Solution site.
I've set up a campaign (08/12/2004 - 31/01/2005)
i've set up a discount for 5% off on orders over $75.00
The expression is User Type = Registered User
Basket limit 0
Award limit 0
I purchase 4 items @ 24.20 for a total of 96.80. The discount never shows
up
in the basket. It actually never gets processed by the pipeline component.
Let me know if you need more info.
Thanks a million.
This is basket pipeline dump: (only discount related portion)
PIPELINE:++ component[0x7] about to be called ProgID:
Commerce.OrderDiscount.1
RootObject: ReadValue _currency_decimal_
places VT_NULL __null__ VT_EMPTY
__empty__
RootObject: ReadValue _currency_lcid VT_
I4 0 VT_EMPTY __empty__
RootObject: ReadValue _discounts VT_NULL
__null__ VT_EMPTY __empty__
RootObject: WriteValue _discounts VT_EMP
TY __empty__ VT_DISPATCH
PV=[0xaff4104]
RootObject: ReadValue items VT_DISPATCH
PV=[0xaebe5a0] VT_EMPTY __empty__
RootObject: WriteValue _event VT_EMPTY _
_empty__ VT_BSTR SOLD
RootObject: WriteValue _winners VT_EMPTY
__empty__ VT_DISPATCH
PV=[0xaff44f0]
RootObject: ReadValue orderlevel_discoun
ts_applied VT_NULL __null__
VT_EMPTY __empty__
RootObject: ReadValue discounts_clicked
VT_NULL __null__ VT_EMPTY __empty__
Items: ReadItem 0 VT_DISPATCH PV=[0xaebe6c0] VT_EMPTY __empty__
: ReadValue quantity VT_I4 4 VT_EMPTY __
empty__
: ReadValue _n_unadjusted VT_I4 4 VT_EMP
TY __empty__
: ReadValue _cy_oadjust_adjustedprice VT
_CY 0 VT_EMPTY __empty__
: ReadValue _cy_iadjust_currentprice VT_
CY 24.2 VT_EMPTY __empty__
: ReadValue discounts_applied VT_NULL __
null__ VT_EMPTY __empty__
: WriteValue _cy_oadjust_adjustedprice V
T_CY 0 VT_CY 0
: WriteValue _n_unadjusted VT_I4 4 VT_I4
4
: WriteValue discounts_applied VT_EMPTY
__empty__ VT_NULL __null__
RootObject: WriteValue orderlevel_discou
nts_applied VT_EMPTY __empty__
VT_NULL __null__
PIPELINE:-- component [0x7] returned hr: 0x0, IErrorLevel=1 in 15
milliseconds
PIPELINE:++ component[0x8] about to be called ProgID:
Commerce.OrderLevelDiscountApply.1
RootObject: ReadValue _currency_decimal_
places VT_NULL __null__ VT_EMPTY
__empty__
RootObject: ReadValue _currency_lcid VT_
I4 0 VT_EMPTY __empty__
RootObject: ReadValue items VT_DISPATCH
PV=[0xaebe5a0] VT_EMPTY __empty__
Items: ReadItem 0 VT_DISPATCH PV=[0xaebe6c0] VT_EMPTY __empty__
: ReadValue quantity VT_I4 4 VT_EMPTY __
empty__
: ReadValue _n_unadjusted VT_I4 4 VT_EMP
TY __empty__
: ReadValue _cy_iadjust_currentprice VT_
CY 24.2 VT_EMPTY __empty__
: ReadValue _cy_oadjust_adjustedprice VT
_CY 0 VT_EMPTY __empty__
RootObject: ReadValue _orderlevel_discou
nts_detail VT_NULL __null__
VT_EMPTY __empty__
PIPELINE:-- component [0x8] returned hr: 0x0, IErrorLevel=1 in 0
milliseconds
| |
| Andy Xu[MSFT] 2004-12-10, 5:50 pm |
| Another possibility is that since you are using a target expression as
eligibility requirement, make sure your site codes set the TargetingContext
and User profile to the PipelineInfo object before running the basket
pipeline.
HTH,
Andy Xu [MSFT]
Commerce Server Team
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
X-Tomcat-ID: 504354129
References: <BBEB1A9A-8111-4359-90E4-E9A1E962B3B9@microsoft.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_0001_F646F3D6"
Content-Transfer-Encoding: 7bit
From: davidme@online.microsoft.com (David Messner [MSFT])
Organization: Microsoft
Date: Fri, 10 Dec 2004 19:50:21 GMT
Subject: RE: Discounts not working - problem setting up
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
Message-ID: <0izmBGv3EHA.764@cpmsftngxa10.phx.gbl>
Newsgroups: microsoft.public.commerceserver.campaigns_csf
Lines: 258
Path: cpmsftngxa10.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2921
NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
Set _trace_discounts = true in the pipeline context dictionary and
recapture the log. You'll see extended tracing information. (see the
reference page for OrderDiscount in the documentation for details).
Did you check and make sure the parent campaing is active?
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.
--------------------
Thread-Topic: Discounts not working - problem setting up
thread-index: AcTdtmv5pPd3xtbETcGinaZboNswJw==
X-WBNR-Posting-Host: 69.17.40.37
From: "=?Utf-8?B?Si5GLg==?=" <JF@discussions.microsoft.com>
Subject: Discounts not working - problem setting up
Date: Wed, 8 Dec 2004 22:15:03 -0800
Lines: 55
Message-ID: <BBEB1A9A-8111-4359-90E4-E9A1E962B3B9@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.campaigns_csf
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2912
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
I'm just wondering if someone can help me troubleshoot this issue.
I'm using the new Solution site.
I've set up a campaign (08/12/2004 - 31/01/2005)
i've set up a discount for 5% off on orders over $75.00
The expression is User Type = Registered User
Basket limit 0
Award limit 0
I purchase 4 items @ 24.20 for a total of 96.80. The discount never shows
up
in the basket. It actually never gets processed by the pipeline component.
Let me know if you need more info.
Thanks a million.
This is basket pipeline dump: (only discount related portion)
PIPELINE:++ component[0x7] about to be called ProgID:
Commerce.OrderDiscount.1
RootObject: ReadValue _currency_decimal_
places VT_NULL __null__ VT_EMPTY
__empty__
RootObject: ReadValue _currency_lcid VT_
I4 0 VT_EMPTY __empty__
RootObject: ReadValue _discounts VT_NULL
__null__ VT_EMPTY __empty__
RootObject: WriteValue _discounts VT_EMP
TY __empty__ VT_DISPATCH
PV=[0xaff4104]
RootObject: ReadValue items VT_DISPATCH
PV=[0xaebe5a0] VT_EMPTY __empty__
RootObject: WriteValue _event VT_EMPTY _
_empty__ VT_BSTR SOLD
RootObject: WriteValue _winners VT_EMPTY
__empty__ VT_DISPATCH
PV=[0xaff44f0]
RootObject: ReadValue orderlevel_discoun
ts_applied VT_NULL __null__
VT_EMPTY __empty__
RootObject: ReadValue discounts_clicked
VT_NULL __null__ VT_EMPTY __empty__
Items: ReadItem 0 VT_DISPATCH PV=[0xaebe6c0] VT_EMPTY __empty__
: ReadValue quantity VT_I4 4 VT_EMPTY __
empty__
: ReadValue _n_unadjusted VT_I4 4 VT_EMP
TY __empty__
: ReadValue _cy_oadjust_adjustedprice VT
_CY 0 VT_EMPTY __empty__
: ReadValue _cy_iadjust_currentprice VT_
CY 24.2 VT_EMPTY __empty__
: ReadValue discounts_applied VT_NULL __
null__ VT_EMPTY __empty__
: WriteValue _cy_oadjust_adjustedprice V
T_CY 0 VT_CY 0
: WriteValue _n_unadjusted VT_I4 4 VT_I4
4
: WriteValue discounts_applied VT_EMPTY
__empty__ VT_NULL __null__
RootObject: WriteValue orderlevel_discou
nts_applied VT_EMPTY __empty__
VT_NULL __null__
PIPELINE:-- component [0x7] returned hr: 0x0, IErrorLevel=1 in 15
milliseconds
PIPELINE:++ component[0x8] about to be called ProgID:
Commerce.OrderLevelDiscountApply.1
RootObject: ReadValue _currency_decimal_
places VT_NULL __null__ VT_EMPTY
__empty__
RootObject: ReadValue _currency_lcid VT_
I4 0 VT_EMPTY __empty__
RootObject: ReadValue items VT_DISPATCH
PV=[0xaebe5a0] VT_EMPTY __empty__
Items: ReadItem 0 VT_DISPATCH PV=[0xaebe6c0] VT_EMPTY __empty__
: ReadValue quantity VT_I4 4 VT_EMPTY __
empty__
: ReadValue _n_unadjusted VT_I4 4 VT_EMP
TY __empty__
: ReadValue _cy_iadjust_currentprice VT_
CY 24.2 VT_EMPTY __empty__
: ReadValue _cy_oadjust_adjustedprice VT
_CY 0 VT_EMPTY __empty__
RootObject: ReadValue _orderlevel_discou
nts_detail VT_NULL __null__
VT_EMPTY __empty__
PIPELINE:-- component [0x8] returned hr: 0x0, IErrorLevel=1 in 0
milliseconds
|
|
|
|
|