Forums / Developer / Clearing shop session variable [DoCheckoutAutomatically]
Paul Forsyth
Thursday 29 May 2003 3:46:19 am
Currently im using the ezdefault shop account handler but have altered it to instead goto user/login instead of user/register when the user goes to checkout their basket.
This is ok the first time but im finding the setting of the session variable [DoCheckoutAutomatically] to be a hinderance. If i goto the login, choose not to login yet and to continue shopping i can no longer view my basket because this session variable cause the shop/basket.php file to goto the checkout, and consequently my login screen again. if i want to view my basket i would like to be able to.
Is there a way to clear this variable or something else that has the effect that i can indicate i dont want to automatically checkout yet?
thanks
paul
Bård Farstad
Monday 02 June 2003 10:28:46 am
You can clear the session variable by doing a:eZHTTPTool::removeSessionVariable( 'DoCheckoutAutomatically' ) );
This should solve your problem.
--bård
Documentation: http://ez.no/doc