Posted: 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? |
Hi there, Does the ‘other person’ already have a contact within EE? As in, have they registered onto an event before? |
|
|
No, can’t figure out how to add a contact to swap them if it’s possible |
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 Click to edit the 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? |
|
|
Event 1 – John Doe (1/1) |
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:
The post ID is your Contact ID, so 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.