Support

Home Forums Event Espresso Premium How to delete Registrations

How to delete Registrations

Posted: March 30, 2023 at 11:15 am


dsimkins

March 30, 2023 at 11:15 am

I have a client that uses EventEspresso for class registration. They just keep the same class (event) each year and just change the dates. They would like to remove all the people from last semester’s class and start fresh. Everyone has a lock icon and can’t be removed. How do I remove these people?


Tony

  • Support Staff

March 30, 2023 at 2:33 pm

Hi there,

So with that setup, you would need to manually edit each registration to delete the payment assigned to the transaction, that will remove the lock from the registration and allow it to be deleted.

However, that means each individual registration needs to be edited for the above and if you have a lof of registrations that’s going to take a while.

What you can do to work around that is duplicate the event and then delete the original event so you start again with the duplicate in its place (you edit the Title and Slug to match the ‘old’ event so you replace it), when you delete an event EE will remove all of the related data for that event.

As long as you don’t have registration for the ‘next’/upcoming instance of the event already saved the above is the quickest method to clear them out.

So to give an example, say this event I want to ‘clear out’ and start fresh on. I start by duplicating the event:

https://monosnap.com/file/SlBndKNK9U0bFxd9M1e1Gcf0XauCcm

When it duplicates it will add **DUPLICATE** to the title and -N to the slug (you can only have 1 post matching a slug so they all must be unique)

https://monosnap.com/file/sLJnpkrwmOX3xy3qk7D5tAagAa7LYF

Now delete the original event.

Then go to the trash view and Perm Delete the event:

https://monosnap.com/file/yiiwhtCYJddpWz6lLzewH83ItX9T1z

(Hover over the event and it will show a ‘Permanently delete’ link.

You should see something like this:

https://monosnap.com/file/mogc213EUX8ad1QgExQ74LSwKMWj84

Confirm the delete and EE will remove the event and ALL related data to it. (We recommend you create a database backup before doing so)

Now edit the ‘duplicate’ event again and change the slug to match what the old event was:

https://monosnap.com/file/NZ6ctOZ7wnrXyIscSoE68FJyECmeSD
(I left the ** in that pic just to highlight that it was the event with **DUPLICATE** in the title but I’ve changed the slug to match the old event)

Now any links to the old event will still work and you have a ‘clean’ event to start with.

What WILL NOT work with this change is if you have used any shortcodes that uset the event_id, such as [ESPRESSO_TICKET_SELECTOR event_id=27071] because the Event ID has not changed.

Does that help?


dsimkins

March 31, 2023 at 6:30 am

One last question. They already changed the dates and have a few people who registered. Can I duplicate the event and then move those people from the old event to the new one from the back end, given they already made the purchase?


Tony

  • Support Staff

March 31, 2023 at 6:43 am

You can, however, when you ‘move’ a registration it cancels the original and generates a new one assigned to the same transaction. So when you delete the original event it’s going to then delete the registrations still assigned to the original transaction.

How many registrations are we talking about? You may be better off just re-registering them onto the new event, copying the details over that way.


dsimkins

March 31, 2023 at 7:27 am

Thanks for your help. This helps us understand what we need to do.


Tony

  • Support Staff

March 31, 2023 at 10:20 am

No problem, any further questions just let us know.

The support post ‘How to delete 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