Basket summary not working after order is sent

djvern

Avatar: djvern

2008-04-18 16:41

Hi, I've integrated Quickcart into my website using iframes and I have an issue that when an order is sent, if the user goes back into the shop and begins another order, the basket summary no longer updates. I don't get any errors, but the basket summary stays at 0, even though when I go to the basket the products added are there. The only way the basket summary works again is if I close and re-open the browser.

From reading other posts I think this is caused by me using Quickcart in an iframe and the session cookie not being deleted properly. So, my question is, how can I force the session cookie to be deleted once an order has been completed? Do I need to add some code to the orders.php file?

Thanks for any help!

» Quick.Cart v1.x

Dave Vernon

treewood (OpenSolution)

Avatar: treewood

2008-04-21 08:29

djvern - send link to check this problem

djvern

Avatar: djvern

2008-04-21 14:27

Ah yes sorry, here's a link:

http://www.airsngraces.net/shop_gents.html

Feel free to go through and do a test order - the site isn't live yet.

Dave Vernon

treewood (OpenSolution)

Avatar: treewood

2008-04-22 07:30

djvern - yes it is very strange. maybe you made changes that it is not working ok ... edit core/orders.php and find function saveOrder() and before function ends add unset( $_SESSION );
maybe it will help

djvern

Avatar: djvern

2008-04-24 01:00

Ok I figured it out - I'm linking to Paypal and hadn't implemented the Paypal code properly. I have now and the basket summary is working, but I now have another problem in that the Paypal button link button is only visible for the first order a user completes. I'll start another topic for this unless I can find an existing solution...

Dave Vernon

Back to top
about us | contact