Support

Home Forums Event Espresso Premium Delete Locked Tickets

Delete Locked Tickets

Posted: February 4, 2015 at 12:36 pm

Viewing 5 reply threads


Matt Maher

February 4, 2015 at 12:36 pm

I am testing my event registration and after I changed prices, it locked my tickets. I deleted the test registrations but it still won’t allow me to unlock and delete those tickets. How can I get rid of those?


Lorenzo Orlando Caum

  • Support Staff

February 4, 2015 at 12:47 pm

Hi there Matt,

This can be done and it involves working with the database using PHPMyAdmin or a plugin like Adminer.

Please go ahead and backup your your database:

https://eventespresso.com/wiki/how-to-back-up-your-site/

Then see this tutorial:

https://gist.github.com/lorenzocaum/68d5029ebd0311559a2a


Lorenzo


ttf

February 4, 2015 at 4:17 pm

Can you just delete the entire record for the ticket if there aren’t any registrations associated? After my testing, I deleted all the registrations for the event and then created another ticket since the original was locked. But I would like to remove the old one and not edit it like the tutorial mentions.


Lorenzo Orlando Caum

  • Support Staff

February 4, 2015 at 4:34 pm

Hi,

The ticket has a lock on it as it has been archived. Editing the price when there is at least one existing registration will trigger archiving of the ticket.

If you follow the tutorial, then the lock will be released and it can be removed.


Lorenzo


Matt Maher

February 4, 2015 at 5:10 pm

The suggested actions worked. Thanks. It might be handy to create a simplified solution on the backend for removing those in the future. I know most people are going to want to go in and mess with all the database settings.


Lorenzo Orlando Caum

  • Support Staff

February 4, 2015 at 5:59 pm

That is good news Matt. It works as it should but doesn’t account for test registrations that are later deleted so we may end up creating a small utility plugin to handle it.

If we allowed changes to every ticket (even those with registrations), then it could result in a lot of inaccurate transactions.


Lorenzo

Viewing 5 reply threads

The support post ‘Delete Locked Tickets’ 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