Post by thinkingforward » Mon Mar 02, 2015 11:47 pm

Hello, I've searched through a few threads but haven't found the solution for this.

If a customer makes a purchase, then completely closes the browser on the success page, when they return and add a new product to the basket and re-login, once they reach the confirmation page it has the product from the previous order still there.

It's the same for sage and cheque payment so appears to be an Opencart bug.

How do I fix this so that the cart is completely emptied once reaching the success page?

Active Member

Posts

Joined
Wed Nov 25, 2009 2:55 am


Post by thinkingforward » Tue Mar 03, 2015 12:15 am

Actually, I've used RPH's solution from the below thread which works fine on 1.5.6 also - touch wood!

http://forum.opencart.com/viewtopic.php?f=20&t=40578

On another note, is there an easy way to clear all the previously saved carts in phpmyadmin?

Some customers will still have old product stuck in the cart from PRE fix.

Thanks in advance! :)

Active Member

Posts

Joined
Wed Nov 25, 2009 2:55 am


Post by IP_CAM » Tue Mar 03, 2015 5:51 am

VqMod-File Version 1.5.6.x - Untested by me...
http://www.simonbattersby.com/blog/2013 ... ent-134699
Download it here:
http://www.ipc.li/os/Clear_cart_after_p ... rchase.zip
Good Luck
Ernie

I'm no longer quite active at the Forum, to reach me, better contact: jti@jacob.ch
My free Opencart LIGHT 1.5.6.5 Code is available on GitHub soon,
a Demoversion of it can be seen in Action here: http://www.bigmax.ch
930+ FREE OC Extension-Repositories - from OC v.1.5.x up, on the
world's largest OC-related Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by thinkingforward » Wed Mar 04, 2015 1:16 am

Thanks, I just need to clear all the existing cart data now that has already been saved previously.

What's the best way to do this in phpmyadmin?

Chris

Active Member

Posts

Joined
Wed Nov 25, 2009 2:55 am


Post by bdnannac70 » Thu May 21, 2015 1:18 pm

I got this error when trying to click on the red x to remove an item from the cart. It's like it doesn't refresh the cart after you remove the item.

Anybody have any ideas?

Newbie

Posts

Joined
Thu May 21, 2015 1:14 pm
Who is online

Users browsing this forum: No registered users and 5 guests