Support

Home Forums Event Espresso Premium Auto-Fill If User Is Logged In

Auto-Fill If User Is Logged In

Posted: July 7, 2023 at 6:30 am

Viewing 3 reply threads


Katelyn

July 7, 2023 at 6:30 am

Is there a way for the billing information to be auto-filled if a user IS logged in? I’m noticing, as of right now, the user might have to enter it multiple times.


Tony

  • Support Staff

July 7, 2023 at 7:30 am

Hi there,

Which billing info are you referring to? (People use that term for multiple locations)


Katelyn

July 7, 2023 at 8:06 am

This reply has been marked as private.


Rio

  • Support Staff

July 7, 2023 at 9:24 pm

By default the Users add-on only autofills the First Name, Last Name and Email Address fields, however we have a couple of custom functions that that may work for you here.

This function pulls in the address information for the user:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_filter_address_answer_for_wpuser.php

The function pulls in any previous answers to custom questions your users may have answered:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/mn_wp_user_addon_save_custom_answers_too.php

You can add those functions to a Custom Functions Plugin within your site to pull those details.
https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Thanks.

Viewing 3 reply threads

The support post ‘Auto-Fill If User Is Logged In’ 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