|
Home > Archive > Content Selection Framework > August 2006 > External discounts
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 |
External discounts
|
|
| MadRussian 2006-08-08, 1:22 pm |
| How can I apply a discount, which is controlled by an external system?
No, the client does not want me to sync data between the systems. All I
can get is the discounted price of an item from a web service.
| |
| Madhur Joshi 2006-08-18, 1:18 am |
| If you are using Commerce Server 2002 Feature Pack 1, or Commerce Server
2007, and are using the Marketing resource for Campaigns you can use the
marketing managment api (.Net) to create a simple discount based on the
values you read from the webservice. The
Microsoft.CommerceServer.Marketing.CampaignItemManager class does just this.
In the case of vanilla Commerce Server 2002, there is no easy way to do
this. You can look at how the BizDesk creates the discounts (calling into
stored procedures in the campaigns database) and mimic that behavior.
Unfortunately, we didn't expose an API to do this at the time.
Hope that helps,
madhur
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation.
All rights reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Please reply to the newsgroups only.
--------------------
From: "MadRussian" <onemadrussian@gmail.com>
Newsgroups: microsoft.public.commerceserver.campaigns_csf
Subject: External discounts
Date: 8 Aug 2006 10:59:10 -0700
How can I apply a discount, which is controlled by an external system?
No, the client does not want me to sync data between the systems. All I
can get is the discounted price of an item from a web service.
|
|
|
|
|