Checkout form - Can you save shipping quote if info is not input correctly?

Posts: 76
Joined: 09/19/2007
Bug FinderGetting busy with the Ubercode.

Hello All,

In the checkout form, you're required to press the "Click to calculate shipping" button, even when there is only a single shipping method. Also, if you forget to enter some information, you are required to press that button again before going to the review page. Each refresh of the page removes the credit card information, which means that a customer might end up having to enter their CC information 3 times if the first time they don't input some info correctly and the second time they forget to press the shipping quote button again.

Any advice on how to improve this flow? Ideally, I'd like to see the shipping calculated automatically, and most of the credit card information saved, so that the user only has to put in their number again.

Thanks!
Chris

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

The shipping quote can't be saved on a form error for the same reason the credit card info isn't saved. Drupal doesn't let the form process because of the errors. This means that the information doesn't get saved anywhere. The only reason you keep the address information is because the browser knows to cache form data. The payment method and shipping quote forms are brought in with AJAX, so the browser can't fill them out on page load.

Posts: 76
Joined: 09/19/2007
Bug FinderGetting busy with the Ubercode.

Thank you for the response, Lyle, I appreciate it. I understand Ubercart is a work in progress, and that things will probably just be getting better from here. It seems like down the road, you could use jQuery to have the two forms load dynamically on page load if the form has been filled out already. Then, they should be able to grab the posted data, I would think.

Also, it would be good to have the progress graphic display when credit card is clicked as an option. I noticed that the CC form can take a couple seconds to load, and a customer might just blow by that, thinking that the credit card info is grabbed on the next page.

I'm impressed with Ubercart so far, I'm really enjoying a lot of its features and seamless Drupal integration. It would be nice to know what's driving Ubercart development. Do you guys have some companies backing you who want the product developed? I'm sure you have some info out there, but I haven't come across it yet.

Thanks again!
Chris

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Chris, good idea for the payment details div. I'll get that added in.

Regarding our funding, we are currently primarily funded by a restaurant equipment company that's been selling stuff online for a few years now. We'd been stuck with osCommerce for quite some time and were ready to escape. Ubercart was born about a year ago to help us move toward that goal, and in the process the project has become much bigger and more successful than we ever imagined. Smiling

Posts: 76
Joined: 09/19/2007
Bug FinderGetting busy with the Ubercode.

Ryan, thanks for the background info. I wish I could have seen a presentation or two of yours at the DrupalCon, but I wasn't able to make it this go around. I'm glad to hear that Ubercart is getting some attention. Having worked with OSCommerce, ZenCart, and attempting at maintaining a self-rolled solution, I'm enjoying the ease of slipping into Ubercart. In particular, I'm looking forward to learning the APIs a bit better.

Thanks again, Ryan. If you guys have time, it would be great to have an About Us page somewhere.