Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Disable cart saving / empty cart at login


Recommended Posts



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 :)

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...