[ic] [if discount [item-code]]

Gary Norton gnorton at broadgap.com
Wed Apr 28 10:32:49 EDT 2004

New Media E.M.S. wrote:
> At 05:42 PM 4/27/2004 -0600, you wrote:
>> I have a quick question regarding [if discount [item-code]]:
>> What table/field is this tag checking to see if a discount is
>> available for this product? 
>> Is it checking against a session variable to see if a discount has
>> manually been calculated for this tag before? If so, how could I view
>> the [discount item-code] values?
>> Thanks,
>> Gary
> Gary -
> It checks to see if a discount has previously been set for the
> specific 
> item with the [discount][/discount] tag pair. The discounts are
> stored in 
> the session; they can be viewed in the UI along with the other active
> session data, and can be accessed directly with perl, i.e.
> $Session->{discount}->{your_item_code}.
> - Ed L.

Thanks Ed, that is what I was looking for.

Gary Norton
Desk: 801-763-8056 x22
Cell: 801-368-7826
Toll-Free: 877-broadGap

broadGap Technologies
802 E. Bamberger Drive, Suite C
American Fork, UT 84003

More information about the interchange-users mailing list