(yes, this is a duplicate of https://www.drupal.org/node/2898856 but i wanted to make sure it was noticed by someone, esp. since the general support forums at ubercart.org aren't working properly, see https://www.drupal.org/node/2898857 ... please delete whichever of these two threads makes less sense ! thanks! )

well, this may sound crazy but... we have a situation where it's a zero-value order (and yes, we are using https://www.drupal.org/project/uc_free_order) and we would like to skip the checkout and checkout review pages ENTIRELY, and go straight from "cart" to "confirmation".

obviously only makes sense if the billing info is already available to be filled into the order (which we are currently doing in a form_alter on the checkout page, with data that was previous gathered and put into a session variable, but that could instead happen with backend code that worked on the order itself and not on the form values)... so if billing info is known, the product had a price of zero, and free orders payment method was available then.,. in theory you COULD skip the checkout page!

and there is this module https://www.drupal.org/project/uc_optional_checkout_review which could also allow us to skip the "checkout review" page... but skipping "checkout" itself, well... i've never seen anyone do that before. but that's what our client is asking us.

obviously this is going to require some coding, and i am ok with that, but... any guidance from the module maintainers would be much appreciated!

Comments

goatvirus created an issue. See original summary.

TR’s picture

Status: Active » Fixed

Payment methods, like the free checkout method, typically use the checkout page to collect address (and other) information and to add shipping and taxes.

If you don't want the checkout page, you can implement an 'express' checkout method, similar to PayPal Express Checkout which is part of core Ubercart. The easiest way might be to just modify uc_free_order to turn it into an 'express' method. You can use the uc_paypal module as an example.

Be aware that most of uc_free_order was incorporated into core Ubercart a long time ago, so you probably don't need a separate module here, just modify the core Ubercart free order functionality.

earthangelconsulting’s picture

thanks TR, that helps!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.