[ic] Item Discount Persists when clearing ALL_ITEMS
IC
ic at tvcables.co.uk
Tue Feb 1 22:51:44 UTC 2011
Hi Folks,
I am using some code that assigns a discount in a usertag:-
$Tag->discount( { code => $partcode1}, "\$s - $discount" );
This works fine.
However when I try to clear all item discounts the item discount in the
session persists, I have tried:-
$Session->{discount} = ();
$Tag->discount( { code => 'ALL_ITEMS'}, "\$s * 1" );
[discount ALL_ITEMS][/discount]
[discount code="ALL_ITEMS"][/discount]
[discount ALL_ITEMS]$s * 1[/discount]
The only way I can clear it is with the specific item code:-
[discount code="itemsku"][/discount]
What would stop ALL_ITEMS from clearing the item discount?
IC is version 5.6.0
Thanks,
Andy.
More information about the interchange-users
mailing list