|
Home > Archive > Content Selection Framework > April 2005 > Hi David, There are no Discount Options for OrderDiscount Componen
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 |
Hi David, There are no Discount Options for OrderDiscount Componen
|
|
|
| Hi David,
Thank you for your reply to my post regarding discounting least expensive
items first. There are no options for discounting under the OrderDiscount
Component properties in the CS Pipeline Editor. I wish I could post screen
shots so you could see what I mean. I am wondering if it is because we are
using Commerce Server 2000 instead of Commerce Server 2002? If this is the
case, would I have to build a new OrderDiscount pipeline component to
discount the least expensive items first? I appreciate your help.
Tim
| |
| David Messner [MSFT] 2005-04-04, 5:55 pm |
| You're right, this option was added in Commere Server 2002.
There is a (difficult) way to achieve this in CS2000. You need to include
a column called award_sort in the ContentListFactory cache of discounts.
You do this by overriding the query used by CSFLoadDiscounts.
To achieve an increasing by price sort order you need to set award_sort = 3.
See the MSDN reference for CSFLoadDiscounts for more info on how to do this:
http://msdn.microsoft.com/library/d...-us/csvr2002/ht
m/cs_rp_pipecomp_iohj.asp
-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: Hi David, There are no Discount Options for OrderDiscount
Componen
thread-index: AcU25QvniLRi50pgR7yARyw+Y+Rt2A==
X-WBNR-Posting-Host: 65.101.203.167
From: =?Utf-8?B?VGlt?= <Tim@discussions.microsoft.com>
Subject: Hi David, There are no Discount Options for OrderDiscount Componen
Date: Fri, 1 Apr 2005 10:03:02 -0800
Lines: 11
Message-ID: <425B4B4F-4EA6-4A00-9487-4B8F832D2ED4@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
Path: TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA03.phx.gbl
microsoft.public.commerceserver.campaigns_csf:3107
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
Hi David,
Thank you for your reply to my post regarding discounting least expensive
items first. There are no options for discounting under the OrderDiscount
Component properties in the CS Pipeline Editor. I wish I could post screen
shots so you could see what I mean. I am wondering if it is because we
are
using Commerce Server 2000 instead of Commerce Server 2002? If this is the
case, would I have to build a new OrderDiscount pipeline component to
discount the least expensive items first? I appreciate your help.
Tim
|
|
|
|
|