[ic] Problem setting scratch in item-sub

Ton Verhagen tverhagen at alamerce.nl
Sat Apr 12 14:21:48 UTC 2008

Dear All,

The following code doesn't behave as I'd expected.

Displaying cart contents:


[item-sub test_it]

...cut code

         $Tag->tmp('testme', "Some value");

....cut code


[item-exec test_it][/item-exec]

[if scratch testme]
         scratch testme holds value: [scratch testme]


The test fails while the scratch variable testme is empty.
However, it should be possible to set a scratch in the sub routine, 
shouldn't it?

Am I missing something?

Many thanks !

Best regards,


Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 

More information about the interchange-users mailing list