Ubercart Addresses

Contrib type: 
Module
Status: 
Initial upload
Compatibility: 
Ubercart 1.x
Latest version: 
5.x-1.x

The uc_addresses module adds support for one or more addresses in the user's profile. When users register, they must provide an address. Users can then add more addresses and edit or delete existing addresses. One address must be designated as the default address and cannot be deleted (but it can be edited).

The Ubercart order process is altered so that users select delivery and billing addresses from their collection of addresses rather than from previous orders. Any new addresses entered during the order process are automatically added to the user's list.

Releases and an issue tracker for bug reports are available through the project page on drupal.org.

For modifications of this module, please contact me. Thanks!

AttachmentSize
Adding an address16.03 KB
Editing an address16.61 KB
Registering for a new account19.89 KB
Selecting address in the order page26.52 KB
The user profile page10.1 KB
Viewing addresses9.95 KB



Excellent module ! I know

Excellent module !

I know code is freezed for 1.0, but I would add that I would see this "addresses philosophy" into core... (maybe for 2.0) ? for some reasons :

  • You could know the country of the user before checkout process, which allow you to be able to display prices depending on the user country (maybe add the possibility to make an address as "primary") in case the user have several address, the code to display price have to choose one
  • Most others big sites have this kind of system, so, users already have the habits to use it

Primary addres

There is already support for a 'primary' address (I call it the default address). There is no guarantee that every user will have one (since the module can be added to an existing system), but every user with at least one address will have a default address.

Of course, anonymous users have no associated addresses.

For an international store, you would probably want to give the user a choice of currency to use, but I suppose the default address, when available, might be a starting point.

Tony Freixas
tony@tigerheron.com
http://www.tigerheron.com

Re: Primary addres

Yes, currency could be defined depending on the primary address, but the prices too (to add the tax or not, to display different taxes depending on primary addresses...)

The fact to know the user address when he browse the catalog can bring a lot of possibilities, especially for european store.

5.x-1.0-rc1 is now available

Version 5.x-1.0-rc1 is now available at http://drupal.org/project/uc_addresses. Please try it out and submit any bugs to drupal.org. Thanks!

5.x-1.0-rc2 is now available

Version 5.x-1.0-rc2 is now available at http://drupal.org/project/uc_addresses. There were two small bugs fixed from RC1. Please try it out and submit any bugs to drupal.org. Thanks!

Version 1.0 has been released

Version 1.0 has now been released. Find it at http://drupal.org/project/uc_addresses.