Addresses stored for customers

5 replies [Last post]
Joined: 02/26/2009
Juice: 12

Hi,

Currently when a customer types in their shipping address to complete an order, the address is not stored in the system. When they return, they have to retype it in.

Is there a way that customers can enter their address when they create their account, and have that filled out as the default information - or alternatively, have the address entered into those fields saved?

Thanks

Joined: 04/23/2008
Juice: 733
Joined: 02/18/2009
Juice: 92

I noticed this too just now. address information is stored with the order in the uc_order table. this seems like a really big "flaw" in the ubercart system, at the very least one would think that a customer would have an address and that that address would populate what is in the uc_order table so you know where each order was shipped to even if a customer changes addresses.

Ubercart apparently looks at all orders by a previous user and offers a "drop down" of "saved addresses" however all the address fields remain asterisked as required, until you select a previously used address and then it populates them.

I would recommend that the default behavior should be that address fields should be populated with the last used address and a "select different previously used address" field be presented.

Ideally i would like to see pluggable address storage, so, in my case, the addresses could be stored for each customer in civicrm, and when checking out they can choose which civicrm location is their billing and shipping. or something like that. Similar to the way that the uc_address module seems to allow people to store an addressbook and choose the billing and shipping.

What i mean by pluggable address storage is this:
Site admin could decide where customer addresses are stored:
* ubercarts default systemn
* uc_addresses
* drupal user locations
* drupal cck locations
* civicrm

I would guess that each would need its own module to make the connection, i am not sure if there is any ubercart architectural changes that would be necessary

Joined: 02/18/2009
Juice: 92

probably worth linking to this http://drupal.org/project/uc_civicrm though my understanding is that this module takes an address from ubercart and pushes it into civicrm for storage, in my ideal the user would actually be entering info into civicrm and ubercart would be pulling it out of there. That way if you have a user who's address is already in civicrm (from a mailing list import or member list import) they can choose their address, or update right there in ubercart.

Joined: 08/21/2008
Juice: 24

+1 for pluggable address storage in Ubercart, it would be a really useful feature. Smiling

Joined: 08/07/2007
Juice: 15375

Kinda silly for me, but I'm gonna +1 the idea, too. It's something I've wanted for a while. At the very least, you can overwrite the address book's options using hook_form_alter(), it's just not super developer friendly. Sticking out tongue