There are many times that you would like a user to add address info when they sign up to the site.

If they are buying something then it works by them getting redirected to the address page (as part of the checkout), but if the address module used hook_user and worked with profile.module then you could add the address fields on the register form.

Thoughts? At the moment the only way to add address info on the register page is to use profile, but that doesn't share it's data with address.module.

I will try to think of a good way of actually doing this, and have a go at it, but if you anyone had any ideas let me know :)

Comments

coupet’s picture

I suggest, if possible, ECommerce to use the Location module as an alternative to Address module.

Ecommerce could use address entered thru Location module as required.

stella’s picture

Component: address.module » address

Is anyone working on this? I think it would be a really good feature to just have the 1 address entry form, which I would like for users to have to fill out on registration. At present, the only way I know of doing this is to use the profile.module but there's no way to tie that information into E-commerce. Is there any workaround for this?

Cheers,
Stella

martinc6’s picture

The only way I can think of is that since the profile data is all accessible later through the hooks you can make a module which creates a cron job that ports the profile information into the address book, but that's a really crappy solution.

sime’s picture

Assigned: Unassigned » sime

assigning to me. i have to get the address field into the site registration.

stella’s picture

one idea I had since was to use CCK. However, I've had problems getting it to work in the way I want for a separate location related issue (http://drupal.org/node/83943), so it may not be the best idea, but it is something to consider.

Cheers,
Stella

sime’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)