|
Home > Archive > Commerce Server General > July 2004 > evaluating Discount expressions
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 |
evaluating Discount expressions
|
|
|
| Hi all,
When a discount is created using some buy/buy-get/...conditions,they
are stored as XML expressions in ES_Expr_Info table.
What I want to do now,is to evaluate this expression and display the
"Basket display" message for that Discount Expression in Business Desk
beside that particular product on site,wherever that product
appears.e.g.,I create a discount expression : buy 2 quantities of
product "X" & get 20% off on product "Y".On site,wherever product "X"
appears,it should display this message.
Any suggestions are welcome.
Thanks
| |
| Andy Xu[MSFT] 2004-07-09, 3:11 pm |
| Hi, there,
Thanks for using Commerce Server newsgroup.
In fact, the similar question has been asked before, please refer to a thread named "Discounts - Way to display the GET information when the product is selected." in commerceserver.sdk group, David Messner
gave a detailed suggestion of couple of solutions there.
In short, Commerce Server 2002 didn't have an out-of-box solution for this. But You can extend the commerce server but either using discount CSF pipeline or write your own code to parse the discount data from
Cache.
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.
--------------------
From: talk_to_mein@indiatimes.com (talk)
Newsgroups: microsoft.public.commerceserver.campaigns_csf,microsoft.public.commerceserver.general
Subject: evaluating Discount expressions
Date: 4 Jul 2004 23:01:31 -0700
Organization: http://groups.google.com
Lines: 15
Message-ID: <c3e2694.0407042149.7ba46242@posting.google.com>
NNTP-Posting-Host: 203.200.22.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1089007293 2051 127.0.0.1 (5 Jul 2004 06:01:33 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 5 Jul 2004 06:01:33 +0000 (UTC)
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!postnews2.google.com!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14191 microsoft.public.commerceserver.campaigns_csf:2769
X-Tomcat-NG: microsoft.public.commerceserver.general
Hi all,
When a discount is created using some buy/buy-get/...conditions,they
are stored as XML expressions in ES_Expr_Info table.
What I want to do now,is to evaluate this expression and display the
"Basket display" message for that Discount Expression in Business Desk
beside that particular product on site,wherever that product
appears.e.g.,I create a discount expression : buy 2 quantities of
product "X" & get 20% off on product "Y".On site,wherever product "X"
appears,it should display this message.
Any suggestions are welcome.
Thanks
|
|
|
|
|