[ic] How to reset ALL discounts?
Kevin Walsh
kevin at cursor.biz
Sun Sep 4 09:33:23 EDT 2005
Gert van der Spoel [ic at 3edge.com] wrote:
> interchange at tvcables.co.uk writes:
> > Using IC 5.2.0, is there any way clear ALL discounts, initially I
> > thought that [discount ALL_ITEMS][/discount] would do the trick but
> > that only clears a discount set for ALL_ITEMS not discounts set for
> > individual items.
> >
> > Can anyone suggest how to do it with IC tags or a perl routine please?
> >
> To remove all discounts Frank Davis 08-Apr-2004 05:17PM
> Easy way to remove all discounts in one fell swoop:
>
> [perl] $Session->{discount} = (); [/perl]
>
By the way, with Interchange 5.3.1 and later you will need to use
"$Discounts" instead of "$Session->{discount}".
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list