Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Empty cart at logout / session timeout


Elard

Recommended Posts

Hi,

 

I would like NOT to save my members carts after they logout or their session times out. Any ideas on how to change the code so it deletes my cart?

 

Thanks in advance

Elard

Link to comment
Share on other sites

Hi,

 

I would like NOT to save my members carts after they logout or their session times out. Any ideas on how to change the code so it deletes my cart?

 

Thanks in advance

Elard

 

well, in includes/classes/shopping_cart.php

 

you will find many occurrences where the cart contents is written to the cart table if the customer is signed in. You will have to comment-out those inserts and updates.

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...