Content Selection Framework - discounts do not refresh when lineitem quantity decreased

This is Interesting: Free IT Magazines  
Home > Archive > Content Selection Framework > January 2005 > discounts do not refresh when lineitem quantity decreased





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 do not refresh when lineitem quantity decreased
willjames

2005-01-21, 5:50 pm

Hi,

Our site has an incremental discount scheme defined in BizDesk where eg
purchasing 2 products entitles the user to a 5% discount, 3 products 10%, 4 =
15% etc up to 10+ products = 50%.

We have an odd problem where if a customer increases the number of products
in the basket, the discount correctly applies - but when subsequently
decreasing the number of products, the previous discount is still being
applied.

Any light that could be shed on this would be greatly appreciated.
--
Will James
David Messner [MSFT]

2005-01-21, 5:50 pm

The discounts are recalculated from scratch every time the basket pipeline
runs, assuming a normal CS configuration. You didn't change the order
system to persist keys that begin with underscores, did you?

You could set pipeContext.[_trace_discounts] = true and capture a pipeline
log - that would help diagnose. Feel free to post the OrderDiscount part
of hte log and we can take a look.

-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.

--------------------
Thread-Topic: discounts do not refresh when lineitem quantity decreased
thread-index: AcT/y/sUC7pmwrzORWW8nST8itoiwg==
X-WBNR-Posting-Host: 195.157.149.27
From: =?Utf-8?B?d2lsbGphbWVz?= <willjames@discussions.microsoft.com>
Subject: discounts do not refresh when lineitem quantity decreased
Date: Fri, 21 Jan 2005 07:15:02 -0800
Lines: 14
Message-ID: <286164FA-FBE3-4833-AAF2-0984A49EB41F@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!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:3005
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf

Hi,

Our site has an incremental discount scheme defined in BizDesk where eg
purchasing 2 products entitles the user to a 5% discount, 3 products 10%, 4
=
15% etc up to 10+ products = 50%.

We have an odd problem where if a customer increases the number of products
in the basket, the discount correctly applies - but when subsequently
decreasing the number of products, the previous discount is still being
applied.

Any light that could be shed on this would be greatly appreciated.
--
Will James

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com