3 replies [Last post]
labguy's picture
Offline
Joined: 01/22/2009
Juice: 48

I'm running UC 1.19.

The checkout form data is lost under these circumstances:

  • User hits the "Back" button on the review page.
  • There is an error on the form when they hit "Review Order"
  • There was an error in stock availability when they hit the "submit" button

This requires the user to fill out the data again. If they do this, a new order is generated (rather than using the previous, failed order number).

Is there anyway to fix this? I can live with the multiple order issue, but I am seeing users get frustrated with having to fill out the data every time they get an error.

Thanks for the advice.

Jeff

Inventing new and unique products for people, robots (if they ask nicely), and a few plants.

Laboratory 424
Experiments in Progress
www.laboratory424.com

labguy's picture
Offline
Joined: 01/22/2009
Juice: 48
Any ideas?

Any ideas on a work-around for this?

Are there any JS solutions (or similar) to refill out the checkout fields when the user hits the back button?

Thanks.

Jeff

Inventing new and unique products for people, robots (if they ask nicely), and a few plants.

Laboratory 424
Experiments in Progress
www.laboratory424.com

TR
TR's picture
Online
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3369
Re: Any ideas?

This doesn't happen in a default configuration of Ubercart. It's possibly caused by your Secure Pages settings or some contrib module you're using.

<tr>.
labguy's picture
Offline
Joined: 01/22/2009
Juice: 48
Re: Re: Any ideas?

Thank you for the pointer. It helped give me direction.

Turns out my live site works fine (uses https for cart and checkout). I had cloned my live site down to a local test machine, removed the secure pages module, and get the "back button error" mentioned above. The cloned site uses http for the cart and checkout.

My only thought is that my removal of secure pages irritated something. I ripped out the secure pages folder rather than "disable and remove" the module since my admin pages were routing through https...couldn't get to the modules page.

Jeff

Inventing new and unique products for people, robots (if they ask nicely), and a few plants.

Laboratory 424
Experiments in Progress
www.laboratory424.com