[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] tmpscratch vars not destroyed after page is processed


Hi All,
   I don't know if anyone else has expierienced this.....

On the saved carts page, it never seemed top work right, you could delete the cart, it would still show up in the browser, but it would be removed (correctly) from the DB. leading to some very strange behavior, and lots of confusion with clients. After some head banging, I finally figured ou that my TmpScratch vars did not seem to be destroying themselves after the page was proccessed. As a quick fix, I added

[calc]
 $Scratch->{saved_carts_carts} = '';
 $Scratch->{saved_carts_recurring} = '';
[/calc]

to the bottom of the saved_carts page, and everything works correctly now, so no more instances of the browser thinks it's (the savedcart/recurring order) there when it's not. It is an issue with all of my IC sites, which are (mostly) based off the Foundation demo. I haven't modded saved_carts.html up until this point. Could this be a bug in the demo?

I'm using
IC 4.8.7
RaQXTR
perl 5.6.1


_______________________________________________
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.