Page 1 of 1

Minicart not correct when user hits browser back @ checkout

Posted: Thu Dec 13, 2007 7:00 pm
by AbleMods
If I add an item to the cart from a product page, the minicart updates correctly. I then click "checkout" and hit the checkout/default.aspx page.

If I hit the browser back button, I return to the product page I should but the minicart now shows empty. My visitors instinct is to click the add-to-basket button again which just duplicates their purchase.

If I click the "refresh" button after clicking browser-back, the minicart becomes accurate again.

Is this a bug or is there any way I can fix?

Posted: Thu Dec 13, 2007 7:18 pm
by Shopping Cart Admin
Hello Joe,

Sometimes we're not big fans of AJAX. It doesn't play nicely with the back button. Someone else will have to let you know if it can be 'fixed'. We are hoping the next version of AJAX is 'smarter'.

Posted: Mon Dec 17, 2007 10:03 pm
by primesuspect
Maybe you could write a Javascript or AJAX script that is included with every page that forces a cart update on the initial load?