Support

Home Forums Event Espresso Premium Change Contact on one event that's affecting another event

Change Contact on one event that's affecting another event

Posted: January 26, 2024 at 12:58 pm


HonorFltNtwrk

January 26, 2024 at 12:58 pm

2 events. User registered under event 1, and bought a ticket under event “2” at same time. However, they entered their own name for ticket 2, but it should have been a different name. Anytime I try and change name on ticket 2, it changes name on other event. Not presented option to add new contact. How do I get the name changed on event 2 ticket?


Tony

  • Support Staff

January 26, 2024 at 3:52 pm

Hi there,

Does the ‘other person’ already have a contact within EE?

As in, have they registered onto an event before?


HonorFltNtwrk

January 26, 2024 at 3:54 pm

No, can’t figure out how to add a contact to swap them if it’s possible


Tony

  • Support Staff

January 26, 2024 at 4:41 pm

First, let’s double check the official method.

Go to Event Espresso -> Registrations.

You’ll have 2 registrations for this group under the same name.

Next to their name you’ll have 1 / 2 and 2 / 2

Click to edit the 2/2 registration

Quick example: https://monosnap.com/file/L6erZd7F6eee4T9vg5b6W8M345ZEbE

In the interface, do you have a ‘create contact’ button?

https://monosnap.com/file/stXZunRWE3W4mn52KtzRyyBB7MjZT3

If so, click that and it will create a copy of the current contact and take you to the edit page, add something to the first and last name, for example I would change it to Tony1 Warwick1 just as something quick to edit and spot to confirm it worked.

Then save.

Go back to EE -> Registrations and find your 2 registrations again, if they are now separate you’ll have 2 names.

Or… do you not see the option to create a contact?


HonorFltNtwrk

January 26, 2024 at 4:48 pm

Event 1 – John Doe (1/1)
Event 2 – John Doe (1/9)
“John” registered themselves for Event 1, then went and registered 9 persons for Event 2 (it a dinner ticket) and put themselves as person 1. 2 Separate Transactions, however changing “John Doe” in Event 2 to the correct name, alters Event 1 as it’s the same registrant.
I’m not presented with an option to create a contact in Event 2 – where it really needs to happen.


Tony

  • Support Staff

January 26, 2024 at 5:17 pm

Separate Transactions

Ah, ok, so that’s important.

So in that case you can’t do it through the UI by just creating a contact.

Go to Event Espresso -> Events -> {Hover over the event with this group registration on} -> Registrations.

Now you’ll see a list of registration for that specific event.

At the top of the page, click Add New Registration.

Register onto the event as ‘the other person’, make sure that ‘Send Related Messages’ is NOT checked: https://monosnap.com/file/7jfX94pMYQZ14AEQwJ0vNaH354XfXH

You’re creating a new registration simply for EE to create the EE_Contact for you.

Once you click to continue, you’ll see the edit registrant screen, click to view/edit the contact:

https://monosnap.com/file/csdffibRpFGaZxFwxS6xiuiykqeU6o

This is the important part.

Once you click the above, you want to take note of the Contact ID, in the address bar it’ll look something like:

/admin.php?page=espresso_registrations&action=edit_attendee&post=302&edit_attendee_nonce=35264726&return=view_transaction

The post ID is your Contact ID, so &post=302, in this example the ID is 302.

Now add this function to a custom functions plugin on your site:

https://gist.github.com/Pebblo/239dcbbab9514c13ba48fe3e8e9a5add

We have documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

That function adds a metabox to the edit registrant page that allows you to set the ID of the EE_Contact on the current registration.

In short, it does this: https://monosnap.com/file/igdggjh4eqmC0qWJx2SkQflsJtpa5A

On page load it will load the current contact ID, but you can set it to something else and hit update.

So now…. edit the “Event 2 – John Doe (1/9)” registration and take note of the ID that loads when you load the page (just incase you need to set it back if anything goes wrong).

In my example I would change that to 302 to update it to the ID from the contact I just created, hit update.

Now check the registration, it should be using the ‘the other persons’ contact.

I don’t recommend leaving that function enabled, messing with contacts is a risky if you just start changing things around so either remove or disable it.

Now your new contact will have 2 registrations assigned to it, cancel/delete the ‘temp’ registration we created above to generate the EE Contact for you.

The support post ‘Change Contact on one event that's affecting another event’ 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