adidmamah Posted April 27, 2008 Posted April 27, 2008 Hello, By default, osCommerce saves the cart in session or cookies (I don't know exactly). When the user logout, the cart remains in session so that he can recover it the next login. I would like to change this behaviour in order to disable cart saving. This might be done by cleaning the session after login. But I don't know how to do that ! Is there any contribution out there or some source code to achieve this? Thanks for your help :)
adidmamah Posted April 27, 2008 Author Posted April 27, 2008 Found it ! In login.php comment this : $cart->restore_contents(); Hope it can be useful.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.