Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer comments repeating?


Mark1

Recommended Posts

My site URL is www.circuitrysolutions.com . When a customer places an order and enters comments into the comment field the comments are being saved. If you do not exit the cart, and decide to place another order, the SAME comments are displayed in the cart AGAIN. Obviously, there needs to be a clearing of the comment variable immediately after the order is completed. Can someone help me understand how to correct this problem?

 

 

Any help would be appreciated!

 

Mark

Link to comment
Share on other sites

checkout_process.php should have the following:

 

// unregister session variables used during checkout

 tep_session_unregister('sendto');

 tep_session_unregister('billto');

 tep_session_unregister('shipping');

 tep_session_unregister('payment');

 tep_session_unregister('comments');



 tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL'));

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...