Currently, only billing addresses are available in the billing address section and only delivery addresses in the delivery section.

Its a very small modification to uc_store.module to pull from both:

/**
* Create an address select box based on a user's previous orders.
*
* @param $uid
*   The user's ID to search for in the orders table.
* @param $type
*   Choose either 'shipping' or 'billing'.
*/
function uc_select_address($uid, $type = 'billing', $onchange = '', $title = NULL, $icon_suffix = FALSE) {
  $addresses = uc_get_addresses($uid, 'billing');
  $addresses = array_merge($addresses, uc_get_addresses($uid, 'delivery'));

Ideally this could be turned on and off by a config option.

Related ubercart.org post : http://www.ubercart.org/forum/ideas_and_suggestions/6756/saved_addresses

Comments

TR’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev

Bumping.

TR’s picture

Version: 7.x-3.x-dev » 8.x-4.x-dev
Issue summary: View changes