latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Auto-populating billing address fields?

Home Forums Community Forum Auto-populating billing address fields?

This topic contains 1 reply, has 2 voices. Last updated by  Raam Dev 4 years, 6 months ago.

Topic Author Topic
Posted: Wednesday Jun 27th, 2012 at 4:04 am #17627
Brenda Carey
Username: bacree

I noticed that a few other people had asked about whether it was possible to automatically populate the billing address section of a form with a mailing address that the user supplies as part of a custom field. The way it is set up now, if you want to store a mailing address, you have to set custom fields for the address, city, state etc. Then when a users wants to register, they supply a username, and fill in the mailing address forms. But, then they have to fill in their address again in the billing section, It seems like it should be possible to take and address supplied in the custom field and auto-populate the billing fields with it, then if the user wants to change the address they can, but at least they dont have to go through the hassle of filling the same info in twice if its the same address. It just looks more customer friendly to have it set up that way.

I have seen some previous posts on this topic in the primo themes forum, where someone was trying to do the reverse, capture billing address info and populate user fields with it. It seems like it should work the other way too, where you could capture the custom field info and then put it in the billing fields. It seems like this has come up before a few times and I was wondering if anyone had designed a routine to handle it, or had something sort of close I could play with.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Jun 28th, 2012 at 5:55 am #17733
Raam Dev
Username: Raam
Staff Member

Hi Brenda,

This is possible, but you’ll need to edit the Pro-Form templates (see Pre Sale FAQs » Is it possible to modify s2Member® Pro Form templates?) and add the necessary JavaScript in there. You’ll need to do something that checks for the presence of your Custom Registration Fields and then copies their values to the billing address fields when the user selects one of the credit card options.

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.