| 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
>
|