[ic] subtotal_nodisc

Salvador Caballe ea3bkz at amsat.org
Fri Apr 8 04:35:52 EDT 2005


On Thu, 7 Apr 2005 16:23:16 -0600 (MDT)
Jon Jensen <jon at endpoint.com> wrote:

> > I try to use the [subtotal_nodisc] usertag by Kevin  Walsh
> > it runs OK with 5.3.0 but  not with IC 5.3.1 version,
> >
> > does any one know how to fix it?
> >
> > 	my $save = delete $Vend::Session->{discount};
> > 	my $subtotal = Vend::Interpolate::subtotal();
> > 	$Vend::Session->{discount} = $save if $save;
> 
> Probably replace the above with:
> 
>      my %save = %$::Discounts;
>      my $subtotal = Vend::Interpolate::subtotal();
>      %$::Discounts = %save if %save;



Thanks ,

But not work it returns the same value as [subtotal] tag

Salvador





More information about the interchange-users mailing list