Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart not cleared after checkout success


Chronogirl

Recommended Posts

After checkout success and get the email confirmation, the items which I ordered previously still exist in the shopping cart and i have to manually deleted them. I have SPPC and STS Template installed. payment mode is COD, Shipping is FREE. Any idea why ?

Link to comment
Share on other sites

After checkout success and get the email confirmation, the items which I ordered previously still exist in the shopping cart and i have to manually deleted them. I have SPPC and STS Template installed. payment mode is COD, Shipping is FREE. Any idea why ?

 

Solved, I wrongly deleted :

 

// load the after_process function from the payment modules
 $payment_modules->after_process();

 $cart->reset(true);

 

after

 

// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...