Commerce Server General - Apply Promotion Codes To Basket With FP1

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > May 2004 > Apply Promotion Codes To Basket With FP1





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 Apply Promotion Codes To Basket With FP1
Jonathan Swartz

2004-05-11, 8:20 pm

This might seem like a simple question, and I believe that the solution is,
or at least should be. I have created several order level discounts using
FP1 and have assigned them public coupons in order to provide a promotion
code. Now I have added a textbox and button on my page for the user to
apply the promotion code. So far so good. My question is twofold.

1. How to validate the promotion code (make sure it is defined in the DB
and in the timeframe)
2. How to apply the promotion code to the shopping basket to apply the
discounts

I have searched and searched and can not find an example using Feature Pack
1. Any help would be appreciated.

Thanks in advance,
Jonathan
David Messner [MSFT]

2004-05-11, 8:20 pm

Hi Jonathan,

There's actually a pretty comprehensive sample of this in the FP1
documentation.

Look under Developer's Guide/Developer Concepts and Tasks/Marketing
System/Promotion Codes/Implementing Promotion Codes. There is a
step-by-step there of how to configure your site pipelines and the code you
need to add to your site to pass in the promotion codes and then get the
results from the pipeline execution. The basket pipeline will validate the
codes (once you've configured it properly); you just need to check the
status after it runs.

Let me know if this doesn't resolve it for you or if you have trouble with
the sample.
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.

--------------------
From: jswartz@sentiat.com (Jonathan Swartz)
Newsgroups: microsoft.public.commerceserver.general
Subject: Apply Promotion Codes To Basket With FP1
Date: 10 May 2004 13:40:54 -0700
Organization: http://groups.google.com
Lines: 16
Message-ID: <c9f2d85c.0405101240.622fcea3@posting.google.com>
NNTP-Posting-Host: 63.87.170.126
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1084221654 16263 127.0.0.1 (10 May 2004
20:40:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 10 May 2004 20:40:54 +0000 (UTC)
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!postnews1.go
ogle.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:13766
X-Tomcat-NG: microsoft.public.commerceserver.general

This might seem like a simple question, and I believe that the solution is,
or at least should be. I have created several order level discounts using
FP1 and have assigned them public coupons in order to provide a promotion
code. Now I have added a textbox and button on my page for the user to
apply the promotion code. So far so good. My question is twofold.

1. How to validate the promotion code (make sure it is defined in the DB
and in the timeframe)
2. How to apply the promotion code to the shopping basket to apply the
discounts

I have searched and searched and can not find an example using Feature Pack
1. Any help would be appreciated.

Thanks in advance,
Jonathan

Rao

2004-05-18, 3:21 pm

What is FP1. I am working on setting up promocodes. Looking for documentation.

Thanks
-Venu Rao



davidme@online.microsoft.com (David Messner [MSFT]) wrote in message news:<inSaEz3NEHA.3132@cpmsftngxa10.phx.gbl>...
> Hi Jonathan,
>
> There's actually a pretty comprehensive sample of this in the FP1
> documentation.
>
> Look under Developer's Guide/Developer Concepts and Tasks/Marketing
> System/Promotion Codes/Implementing Promotion Codes. There is a
> step-by-step there of how to configure your site pipelines and the code you
> need to add to your site to pass in the promotion codes and then get the
> results from the pipeline execution. The basket pipeline will validate the
> codes (once you've configured it properly); you just need to check the
> status after it runs.
>
> Let me know if this doesn't resolve it for you or if you have trouble with
> the sample.
> -djm
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use. © 2004 Microsoft Corporation. All rights
> reserved.
>
> --------------------
> From: jswartz@sentiat.com (Jonathan Swartz)
> Newsgroups: microsoft.public.commerceserver.general
> Subject: Apply Promotion Codes To Basket With FP1
> Date: 10 May 2004 13:40:54 -0700
> Organization: http://groups.google.com
> Lines: 16
> Message-ID: <c9f2d85c.0405101240.622fcea3@posting.google.com>
> NNTP-Posting-Host: 63.87.170.126
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1084221654 16263 127.0.0.1 (10 May 2004
> 20:40:54 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Mon, 10 May 2004 20:40:54 +0000 (UTC)
> Path:
> cpmsftngxa10.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
> 8.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!postnews1.go
> ogle.com!not-for-mail
> Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:13766
> X-Tomcat-NG: microsoft.public.commerceserver.general
>
> This might seem like a simple question, and I believe that the solution is,
> or at least should be. I have created several order level discounts using
> FP1 and have assigned them public coupons in order to provide a promotion
> code. Now I have added a textbox and button on my page for the user to
> apply the promotion code. So far so good. My question is twofold.
>
> 1. How to validate the promotion code (make sure it is defined in the DB
> and in the timeframe)
> 2. How to apply the promotion code to the shopping basket to apply the
> discounts
>
> I have searched and searched and can not find an example using Feature Pack
> 1. Any help would be appreciated.
>
> Thanks in advance,
> Jonathan
>
> --

Jonathan Swartz

2004-05-19, 2:40 am

FP1 is short for Feature Pack 1, a new set of Commerce Server tools
provided by Microsoft for managing catalogs and campaigns. You can
download it at http://www.microsoft.com/commerceserver/featurepack1/.

vrao@nrahq.org (Rao) wrote in message news:<991a6106.0405181021.e79c4cb@posting.google.com>...[vbcol=seagreen]
> What is FP1. I am working on setting up promocodes. Looking for documentation.
>
> Thanks
> -Venu Rao
>
>
>
> davidme@online.microsoft.com (David Messner [MSFT]) wrote in message news:<inSaEz3NEHA.3132@cpmsftngxa10.phx.gbl>...
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com