[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] discount tag
Quoting Michael Goldfarb (mikeg@contactdesigns.com):
> 4.8.5
>
> Is there any way to use a variable with the [discount] tag?
>
> For instance, I would like to discount an entire order by a dollar amount
> that is held by a scratch variable. I have been trying something like:
>
> [discount ENTIRE_ORDER] $s - [scratch VARNAME] [/discount]
>
This is standard IC embedded perl.
[discount ENTIRE_ORDER] $s - $Scratch->{VARNAME} [/discount]
--
Mike Heins
Perusion -- Expert Interchange Consulting
phone +1.513.523.7621 <mike@perusion.com>
Software axiom: Lack of speed kills.