Support

Home Forums Event Espresso Premium Adding User custom user fields to Registration Checkout Page

Adding User custom user fields to Registration Checkout Page

Posted: November 16, 2015 at 8:38 am

Viewing 10 reply threads


simone

November 16, 2015 at 8:38 am

Dear All,

here again with another help request.

I need to customize the Registration Checkout Page adding some user fields created by a membership plugin. I have also purchased the EE4 user integration plugin and it works great with standard wp user fields, but I beleave integrating custom fields needs additional works
To have this I think I should do these steps:

1- adding/creating the fields I Need in the WP_admin/EE/registration_form
2- adding them to the single event page
3- Find the proper hook/filter in Registration Checkout Page to automatic fill these fields when user is a logged user
4- Adding theme to the final invoice. But I think, if the previous step are done, they will be in the final invoice.

Could you tell me if it sounds correct?
Thanks in advance
Simone

P.S: A little update for topic: https://eventespresso.com/topic/problem-with-mandatory-state-field-in-pay-by-credit-card/
I am waiting an answer by PayPal technical suppor centre about the issue. I will update you when the issue will be resolved.


Lorenzo Orlando Caum

  • Support Staff

November 16, 2015 at 8:51 am

Hi Simone,

The WP User integration does not currently pre-populate custom questions. We have an enhancement request to make that available in a future version of the add-on.

Is that what you are trying to do?


Lorenzo


simone

November 18, 2015 at 2:18 am

Dear Lorenzo,

Yes, I need to have pre-populate custom quesion. I can’t find the proper template to use in my theme, can you tell what is?

I have another question: EE has 2 PayPal payment, Standard and Pro. I need to force EE plugin to use PayPal Express Checkout:
https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECGettingStarted/

is possible?

Thanks
Simone


Lorenzo Orlando Caum

  • Support Staff

November 18, 2015 at 6:10 am

Hi Simone,

PayPal Express is not support at this time. We are planning on making this payment option available as an add-on early next year.


Lorenzo


simone

November 18, 2015 at 6:37 am

Hi Lorenzo,

about the first question: i can’t find the template for the questions fields or a proper hook to perform the auto-populate, may you tell me where you find it?

Thanks in advance,
Simone


Lorenzo Orlando Caum

  • Support Staff

November 18, 2015 at 7:33 am

Hi Simone,

Auto-populate for custom questions is not available at this time. It will be introduced in a future version of the WP User Integration:

https://eventespresso.com/topic/adding-user-custom-user-fields-to-registration-checkout-page/#post-180740

If you would like to take a look at that add-on then you can see how the personal question group is populated but we will not be able to assist you in writing custom code to add this to your site.


Lorenzo


simone

November 18, 2015 at 10:09 am

Thank you Lorenzo,

The invoice in the link contains a test performed after adding Question Gruop.

These are the step I have done:

1) Created a custom Question Group with 2 fields (VAT and Practice company)
2) added this group to an Event.
3) added the system question group “Address Information” to the same event
4) Replacing the fields State/Province with a custom field with the same label in the system question group “Address Information”
5) Registered to the event filling in all the field except the custom field State/Province
6) looking at the invoice, the system group “Address Information” doesn’t appear, only State/Province
7) The same in the admin panel/Event Espresso/registrations

What I wrong?

Thanks for helping
Simone


Lorenzo Orlando Caum

  • Support Staff

November 18, 2015 at 10:36 am

Hi Simone,

These are system questions:

First name
Last name
Email

Address
Address 2
City
State/Province
Country
Phone Number

They are stored on the attendee record and will not appear under custom questions.

Only custom questions will appear in the custom questions area of a registration.

You can have your custom questions appears on the Invoice but you’ll need to use the [PRIMARY_REGISTRANT_ANSWER_*] shortcode.

For example, if your question was called “VAT” — then the shortcode would look like this:

[PRIMARY_REGISTRANT_ANSWER_*VAT]

Note that the shortcode above is an exact match for VAT include capitalization and no spacing before or after it.

If your question is Practice company, then the shortcode would be:

[PRIMARY_REGISTRANT_ANSWER_*Practice company]


Lorenzo


simone

November 20, 2015 at 5:12 am

Hi Lorenzo,

the system question group activated for an event don’t automatically appear in the Invoice?

Thanks,
Simone


Lorenzo Orlando Caum

  • Support Staff

November 20, 2015 at 5:31 am

Hi Simone,

Here is additional feedback:

The first name, last name, and email are shown via these shortcodes:

[PRIMARY_REGISTRANT_FNAME]
[PRIMARY_REGISTRANT_LNAME]
[PRIMARY_REGISTRANT_EMAIL]

The address system questions are available via these shortcodes:

[PRIMARY_REGISTRANT_ADDRESS]
[PRIMARY_REGISTRANT_ADDRESS2]
[PRIMARY_REGISTRANT_CITY], [PRIMARY_REGISTRANT_ADDRESS_STATE]
[PRIMARY_REGISTRANT_COUNTRY]

The shortcodes above are linked to system questions so they will not appear in the custom questions area. They will actually appear under the contact information in the top right area of the registration details screen.

If you collect some custom questions, then those are shown in the middle-bottom area of the registration details screen. Using your earlier example, if your question was called “VAT” — then the shortcode would look like this:

[PRIMARY_REGISTRANT_ANSWER_*VAT]

You would need to add that shortcode to the invoice for it to appear and note that it will only show the answer itself. For example, if the VAT number for a sample registration was 1234567890, that then would be shown.

Does that help?


Lorenzo


simone

November 27, 2015 at 8:18 am

Dear Lorenzo,

sorry for the my late reply.

Thank you for your full explanation.
I have copied al the system question in new custom question and they appear where I need.
So, thank you for your help!

Simone

Viewing 10 reply threads

The support post ‘Adding User custom user fields to Registration Checkout Page’ 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