Content Selection Framework - Where are coupon variables saved? (New to Commerce Server)

This is Interesting: Free IT Magazines  
Home > Archive > Content Selection Framework > September 2006 > Where are coupon variables saved? (New to Commerce Server)





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 Where are coupon variables saved? (New to Commerce Server)
JS

2006-07-03, 7:18 pm

Hi,

Anyone knows where the coupon codes are saved?

On my commerce site coupons gets applied to more than one customer. If
a customer enters the coupon code this code somehow stays in memory so
that other customers also receive this discount, even though it is a
code that you have to enter to receive.

The coupon code can even be there the next day in memory somehow?

Is the coupon information kept in a Session, Cookie, Cache....??
And what is a good way to clear the coupon?

Any help would be appreciated.

JS

David Lott [MSFT]

2006-07-17, 7:17 pm

Hi JS,

Coupons are stored on a per basket basis, in the OrderForm["promo_codes"]
property. This property is set by your site code somewhere so you will
have to investigate how your site was originally developed.

Thanks,
David Lott

Microsoft


This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "JS" <jorgenskold@gmail.com>
Newsgroups: microsoft.public.commerceserver.campaigns_csf
Subject: Where are coupon variables saved? (New to Commerce Server)
Date: 3 Jul 2006 14:25:27 -0700

Hi,

Anyone knows where the coupon codes are saved?

On my commerce site coupons gets applied to more than one customer. If
a customer enters the coupon code this code somehow stays in memory so
that other customers also receive this discount, even though it is a
code that you have to enter to receive.

The coupon code can even be there the next day in memory somehow?

Is the coupon information kept in a Session, Cookie, Cache....??
And what is a good way to clear the coupon?

Any help would be appreciated.

JS


J.F. Larente

2006-09-07, 7:33 pm

You would have to write some code to remove any previous coupons from the
list (in your basket) if this is what your business rule is.

If the discount becomes invalid (expires, conditions change) it will simply
no longer apply to the basket but the coupon code will still be stored.

"David Lott [MSFT]" <dlott@online.microsoft.com> wrote in message
news:1ufX6ecqGHA.6120@TK2MSFTNGXA01.phx.gbl...
> Hi JS,
>
> Coupons are stored on a per basket basis, in the OrderForm["promo_codes"]
> property. This property is set by your site code somewhere so you will
> have to investigate how your site was originally developed.
>
> Thanks,
> David Lott
>
> Microsoft
>
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> You assume all risk for your use. © 2006 Microsoft Corporation. All rights
> reserved.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> --------------------
> From: "JS" <jorgenskold@gmail.com>
> Newsgroups: microsoft.public.commerceserver.campaigns_csf
> Subject: Where are coupon variables saved? (New to Commerce Server)
> Date: 3 Jul 2006 14:25:27 -0700
>
> Hi,
>
> Anyone knows where the coupon codes are saved?
>
> On my commerce site coupons gets applied to more than one customer. If
> a customer enters the coupon code this code somehow stays in memory so
> that other customers also receive this discount, even though it is a
> code that you have to enter to receive.
>
> The coupon code can even be there the next day in memory somehow?
>
> Is the coupon information kept in a Session, Cookie, Cache....??
> And what is a good way to clear the coupon?
>
> Any help would be appreciated.
>
> JS
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com