I am looking for a functionality like this module offers,
but I would like to have the stored data compatible with "User locations", see:
http://drupal.org/project/location

Might there be a possibility to create a sub-module based on uc_addresses
but which stores / retrieves the addresses in the "User locations" tables?

It should run on D6 / UC2

Thanks for your feedback!

Comments

freixas’s picture

Assigned: Unassigned » freixas
Status: Active » Closed (won't fix)

If you're asking if this is possible, the answer is: sure, with enough software, most things are possible.

I'm afraid I don't have the time or interest to look into what it would take. Feel free to take this on or to look for someone who might be interested in developing the feature you want.

stefan81’s picture

There is a module under way, that stores the data compatible with "User locations": http://drupal.org/project/uc_location

Stomper’s picture

I have looked at the module stefan81 suggested but it seems dead in the water, the last commit being a year ago. I want to use but support/activity seems low.

I am not sure if the module is abandoned but perhaps the code from that module could be integrated with UC Addresses.

I just want a universal means of getting a users location, and be able to use it UberCart such as setting product location, default shipping origin, and default shipping destination addresses.

Is there a means to populate the UC Addresses with data from the location module?

freixas’s picture

Of course. The UC Addresses data is stored in a database table and you could fill it with whatever you want. The risk is, of course, that if the table is redesigned, you would have to update your code. At this time, there is no future-proof interface for adding addresses.