Support

Home Forums Event Espresso Premium Linked registrations

Linked registrations

Posted: October 22, 2021 at 11:00 am

Viewing 9 reply threads


wfinley

October 22, 2021 at 11:00 am

On our EE site we only allow users to select a single ticket at a time. This is due to the lengthly questionnaire they have to fill out so we’ve found it easier to make them go through everything (sign up / answer questions / pay) and then start over to sign up for the next event. The issue we’re facing is that often times entire families sign up for the same event – so Joe User completes the registrations and pays, then he signs up Nancy Unser and then his two kid. The problem we’re finding is that all 4 of those registrations end up linked somehow.

When I look in the database there are multiple registration rows – however all have the same attendee id (see screenshot).

Dupes

How can we fix this issue?


wfinley

October 22, 2021 at 11:54 am

And following up on the above. These registrations are all linked together and any attempts to edit one of them changes the contact info for all. Linked


Tony

  • Support Staff

October 26, 2021 at 6:10 am

Hi there,

The problem we’re finding is that all 4 of those registrations end up linked somehow.

Ok, so let’s first explain this.

When Event Espresso creates a registration it links that registration to an EE_Contact (Attendee), which is the ATT_ID. Every registration needs to be linked to a contact (otherwise you have a registration for “no-one”) so Event Espresso uses the First Name, Last Name (optional as some don’t have one) and Email Address System Questions set in the ‘Personal Information’ question group to generate a contact for the registration.

On your site, you are using the WP User Integration add-on (which change the above a little, it still applied, but brings your WP user account and the EE_Contact linked to that account into the mix).

If you go to Event Espresso -> Registration Form -> User integration settings.

What is the ‘Always sync contact information with WP user profile?’ option set to?

If that is set to Yes, then when the user is logged in and they register onto an event, whatever they change the Personal Info ‘First Name’, ‘Last Name’ and ‘Email Address’ fields to on the EE registration form will be synced to their WP User profile AND the EE_Contact linked to that profile.

So for the above user, does the EE_Contact with that ATT_ID match the name of the ‘last’ person they registered onto the event? Has their WP User also updated to use those details?

And following up on the above. These registrations are all linked together and any attempts to edit one of them changes the contact info for all.

That’s because you are editing the single EE_contact linked to all of those registrations, it’s not changing them all, but 1 contact that is used for all of those registrations so when you update that contact it shows the change any every registration linked to that contact.


wfinley

October 26, 2021 at 10:56 am

If you go to Event Espresso -> Registration Form -> User integration settings.

What is the ‘Always sync contact information with WP user profile?’ option set to?

So for the above user, does the EE_Contact with that ATT_ID match the name of the ‘last’ person they registered onto the event? Has their WP User also updated to use those details?

That setting was set to yes. And it was the last person signed up that the info was set to.
I’ve changed the setting. I’m assuming this will fix it going forward but any past registrations will remain linked?
What’s the best way to fix the existing linked ones? Just re-enter and delete the old ones?


Tony

  • Support Staff

October 26, 2021 at 11:38 am

I’ve changed the setting. I’m assuming this will fix it going forward but any past registrations will remain linked?

Sort of, it will prevent the the registrations being linked to the same contact however that also means that the My Events section wont show those ‘additional’ registrations.

The ‘My Events’ section works by pulling all registrations that are linked to the ATT_ID that is assigned to the WP User account, if you set that to no, then only registrations made with details that match the current WP User account info will be linked to that contact moving forward. Others will be linked to their own but then aren’t linked to the WP user account anymore.

I don’t think we currently thave a solution that will work for both setups here (eg showing ALL registrations made by a specific user) but will check with our senior developer to confirm.


wfinley

October 26, 2021 at 12:12 pm

Still confused by the above. I unchecked ‘Always sync contact information with WP user profile’ – but when I go to edit a linked registration I still can’t do so. See below. This registration should be 3 different people – and they were able to insert different info for each questionnaire – but any attempts to edit the contact updates all 3 profiles. Is there a way to break them apart so each is its own profile?

linked


Tony

  • Support Staff

October 26, 2021 at 12:31 pm

Still confused by the above. I unchecked ‘Always sync contact information with WP user profile’ – but when I go to edit a linked registration I still can’t do so.

For registration(s) that have already been created, the above won’t change anything as they are already linked to the same contact.

This registration should be 3 different people – and they were able to insert different info for each questionnaire

The questionnaire isn’t EE’s system questions, so when they input their First Name, Last Name and Email address into the registration form it updated the EE_Contact and WP user details with the details they entered.

So to give an example, if I registered onto my first event on your site now with a WP User account (ID 999 for a simple example) for me. The First Name, Last Name and Email would be Tony, Warwick and tony@example.com. EE would create an EE_Contact for that registration and lets give it an ID of 111, then save that ID to the WP User meta for future use.

Then when I register onto the event again with the same details, EE checks for a current EE_Contact and if one matches it uses that ID, if not it creates a new one with the new details and uses that ID, unless… you are using the WP User integration add-on,with the above sync option enabled it does:

WP User 999 has EE_Contact 111 assigned to it so sync up the EE_Contact of ID 111 and WP User 999 to use the registration details I’ve just been passed. So the ATT_ID is still 111 but the actual details have changed on that contact.

Then if I do it again with the details Carl Smail – carl@example.com, same thing happens.

That’s 3 registrations I’ve created, all using the same ATT_ID but they will all show from Carl Smith, because they are all linked to the same contact.

You editing the contact linked to all of those registrations still edits Contact 111.

Is there a way to break them apart so each is its own profile?

Not officially no, I do have a snippet that allows you to assign registrations to a new ATT_ID in the system but it will break the relationship that allows them to show on the ‘My Events’ section for the user.


wfinley

October 26, 2021 at 1:30 pm

The questionnaire isn’t EE’s system questions, so when they input their First Name, Last Name and Email address into the registration form it updated the EE_Contact and WP user details with the details they entered.

Understood. That said – the questionnaire I’m referring to is data saved in wp_esp_answer – not wp_users.

Not officially no, I do have a snippet that allows you to assign registrations to a new ATT_ID in the system but it will break the relationship that allows them to show on the ‘My Events’ section for the user.

What is your recommendation? Copy the data to a new registration and delete the incorrectly linked registrations? If we delete the linked registration won’t it delete all 3 of those registrations?


Tony

  • Support Staff

October 26, 2021 at 3:15 pm

Understood. That said – the questionnaire I’m referring to is data saved in wp_esp_answer – not wp_users.

Yeah but you’re collecting the EE system questions at least once, right? (You must be as EE requires them, so your either collecting them or auto-filling them in one way or another) and that means the EE_Contact gets updated and set to the registration.

The wp_esp_answers relate to questions, questions relate to registrations and the registration is linked to the contact. So the answers in esp_answers don’t relate directly to the contact itself, so you can input various answers on those questions on each registration, the contact still works as above.

What is your recommendation? Copy the data to a new registration and delete the incorrectly linked registrations? If we delete the linked registration won’t it delete all 3 of those registrations?

The ‘safest’ solution is to recreate the additional registrations, you can do that in the admin by navigating to Event Espresso -> Events -> {hove over event} -> Registrations, click the add new registration at the top of the page and follow the steps. Then add the correct values for the registration there.

Deleting a single registration will not delete all of the registrations in that group, just the one you selected.

Right now, whichever method you use is going to stop those registrations from showing up in the users My Events section. They will obviously show in the EE admin section, but not be linked to the user which registered them onto the event anymore.


wfinley

October 27, 2021 at 12:17 pm

Thanks for the help!

Viewing 9 reply threads

The support post ‘Linked registrations’ 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