Minicart not correct when user hits browser back @ checkout

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Minicart not correct when user hits browser back @ checkout

Post by AbleMods » Thu Dec 13, 2007 7:00 pm

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?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Post by Shopping Cart Admin » Thu Dec 13, 2007 7:18 pm

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'.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

primesuspect
Ensign (ENS)
Ensign (ENS)
Posts: 9
Joined: Wed Dec 05, 2007 12:42 pm

Post by primesuspect » Mon Dec 17, 2007 10:03 pm

Maybe you could write a Javascript or AJAX script that is included with every page that forces a cart update on the initial load?

Post Reply