Add destination to URL from Checkout page

Project: 
Ubercart
Category: 
feature request
Priority: 
normal
Status: 
fixed

alpha 7e.
In the Checkout page, change the link that's in:
"Order information will be sent to your account email listed below.
You can edit your account information here."

from
http://localhost/drupal/user/3/edit

to
http://localhost/drupal/user/3/edit?destination=/cart/checkout (or whatever checkout page is defined)

Good call. Done.

Good call. Done.

Changed line 55 in uc_cart_checkout_pane.inc to the following:

<?php
 
. t('You can edit your account information <a href="!url">here</a>.', array('!url' => url('user/'. $user->uid .'/edit', 'destination=cart/checkout')));
?>

Thanks. I think I saw a

Thanks.
I think I saw a possibility to change the default cart checkout - in that case this URL should not be hardcoded.

Re: Thanks. I think I saw a

You can only change the checkout completion page, not the actual checkout form page. It's a safe fix and works great. Smiling