This module allows a primary (default) location to be selected when editing a user account. As part of our Ubercart - Location - Salesforce integration, we had need to set primary user locations. Modules uc_location (http://drupal.org/project/uc_location) and sf_location (http://drupal.org/node/599214) will set a primary location on the user account if there is none during the Ubercart order process. But this module can be used independently of both uc_location and sf_location.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | location_user_primary.zip | 5.13 KB | mearnest |
| location_user_primary.zip | 3.08 KB | mearnest |
Comments
Comment #1
mearnest commentedModified to hide the location primary select field if there are no saved locations.
Comment #2
Stomper commentedInteresting, so are you saying this provides the same functionality as UC_location (you say this can be used independent of uc_location and salesforce)? Users on my website can enter multiple locations upon registration/profile edit. But I only want one to be used as the primary address - personalization of content is based on the single selected primary location.
I would also like to set the default product location (origin) and shipping location (destination) to adjust/autopopulate based on the selected primary address.
Comment #3
podarokall feature requests should be rolled against latest 7.x-3.x-dev and after commit can be backported to 6.x branch
Comment #4
podaroktag