Support

Home Forums Event Espresso Premium Copy Contact Address as Billing Address

Copy Contact Address as Billing Address

Posted: October 25, 2013 at 10:53 am


Sinclair Lewis

October 25, 2013 at 10:53 am

After a user enters their contact information, can we provide an option to copy this to the address fields that the payment vendor will use? With my customers, these two addresses may or may not be the same.

Thanks

  • This topic was modified 10 years, 6 months ago by  Dean. Reason: not a pre sales question


Sidney Harrell

October 25, 2013 at 5:48 pm

We don’t have any off-the-shelf code to do so, but I wouldn’t think it would take a developer more than an hour to whip up a little jQuery to place the button and attach a listener to it to copy the fields when the button is clicked. This is a case where it is easier to write the code if it is specific to that form.


Sinclair Lewis

November 8, 2013 at 10:58 am

Thanks.

Could you also point to what process I’ll need to use? An action hook? wp_enqueue_script? I’m not a stranger to JavaScript, but I’m new to getting this into WordPress.


Dean

November 10, 2013 at 11:22 pm

Hi,

To answer you could add it to the payment_page.php template wrapped in script tags.

The support post ‘Copy Contact Address as Billing Address’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso