|
Home > Archive > Content Selection Framework > January 2005 > strange behaviour of _orderlevel_discounts_applied for promo_code key
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 |
strange behaviour of _orderlevel_discounts_applied for promo_code key
|
|
|
| Hi,
The problem is like this :
In my basket I have two items. I have a order level public coupon which I
am using to get discount for this basket.
For each line item I am getting the _orderlevel_discounts_applied simple
list and checking the dictionary object in it.
For first line item I could see the value for promo_code as well as
promocode_defn_id along with discount_id, name and the cy_discount_amount
calculated perfectly
For second line item I am getting the _orderlevel_discounts_applied
simple list and checking the dictionary object in it. Here also the
discount_id, name and the cy_discount_amount calculated perfectly as per
the coupon defn. But....To my surprise there is no value for promo_code
and promo_code_defn_id
Ideally these keys with the corresponding values should have been there.
I have checked it in two different project and geting the same result...
can you please let me know what is going wrong ?
I have the orderform dump with me. Pls let me know if you require it.
Reagrds,
Jimut.
| |
| David Messner [MSFT] 2005-01-21, 5:50 pm |
| Is it the same discount for both line items, or different discounts?
Yes, a pipeline log file would be most helpful. See what the
RecordPromoCodes component is doing. It should give you some clues, I
think.
regards
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation. All rights
reserved.
--------------------
From: "Jimut" <jimutbasa@yahoo.com>
Newsgroups: microsoft.public.commerceserver.campaigns_csf
Subject: strange behaviour of _orderlevel_discounts_applied for promo_code
key
Date: Fri, 21 Jan 2005 01:15:04 -0500
Organization: www.talkaboutsoftware.com
Message-ID:
< 73e381b811d453eb2af1c08a684bf0fa@localho
st.talkaboutsoftware.com>
X-Newsreader: www.talkaboutsoftware.com
Content-Type: text/plain;
X-Complaints-To: abuse@supernews.com
Lines: 29
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!news.glorb.com!sn-xit-04!sn-xit-08!sn-post-01!supernew
s.com!corp.supernews.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:3004
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
Hi,
The problem is like this :
In my basket I have two items. I have a order level public coupon which I
am using to get discount for this basket.
For each line item I am getting the _orderlevel_discounts_applied simple
list and checking the dictionary object in it.
For first line item I could see the value for promo_code as well as
promocode_defn_id along with discount_id, name and the cy_discount_amount
calculated perfectly
For second line item I am getting the _orderlevel_discounts_applied
simple list and checking the dictionary object in it. Here also the
discount_id, name and the cy_discount_amount calculated perfectly as per
the coupon defn. But....To my surprise there is no value for promo_code
and promo_code_defn_id
Ideally these keys with the corresponding values should have been there.
I have checked it in two different project and geting the same result...
can you please let me know what is going wrong ?
I have the orderform dump with me. Pls let me know if you require it.
Reagrds,
Jimut.
|
|
|
|
|