On 8/13/07, Stefan Hornburg (Racke) <suppressed> wrote:
> The correct code to delete is:
>
> [calc] $Values->{gift_note} = ''; [/calc]
>
> Also you cannot clear the variable in mail_receipt, as the Values hash
> is restored after route processing.
Josh Lavin <suppressed> wrote:
>I've used:
>[value name=gift_note set='' hide=1]
Thanks, these do mostly solve the problem. Also, simply using [cgi
name="gift_note"] in the text area instead of [value gift_note] seems
to work too.
It still doesn't seem quite right, though. If a customer fills in the
note field, presses "Recalculate", decides to shop some more, then
goes through checkout again, the note they entered is gone.
It seems better to clear the gift_note value from the session after
the order is placed. Is there a good way to do this?
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.