Commerce Server General - RE: Can you tell the OrderDiscount Pipeline component to NOT apply a d

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > July 2004 > RE: Can you tell the OrderDiscount Pipeline component to NOT apply a d





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 RE: Can you tell the OrderDiscount Pipeline component to NOT apply a d
Dinesh Chadha

2004-07-19, 5:53 pm

Another solution could be (which I have implemented), i.e In the pipeline create a scriptor component. In that scriptor check the type of credit card and apply discount there only (by changing the cy_oadjust_total or applicable variable)

Thanks
Dinesh Chadha


"Jason Sirota" wrote:

> On our website, we have a need to test on a per-order basis whether to
> apply a discount or not. Here's the situation:
>
> We have a promo that says "use your Mastercard and get 50% off". In
> the basket pipeline, what we'd like to do is say that if a mastercard
> is the credit card type, then apply the discount. If not, don't apply
> it.
>
> Is there anything that can be set in the order itself instead of
> targeting users or products?
>
> Alternatively, is there a way to designate a specific discount as "not
> applicable" to a specific order?
>
> Jason
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com