Home › Forums › Ticket Products › Event Tickets Plus › Reuse Custom Post and Tickets by Deleting Attendees?
- This topic has 3 replies, 2 voices, and was last updated 8 years, 7 months ago by
Jason.
-
AuthorPosts
-
August 24, 2017 at 9:38 pm #1340135
Jason
ParticipantHello,
I am creating a registration page for a 5k/10k race that takes place annually. I am using WooCommerce, the Event Tickets Plus plugin and a custom post type (not the Events Calendar built-in Event post type). There are currently 3 different tickets associated with my event (General, Child and Senior) and I am also using a separate plugin to apply discounts to the ticket prices using the product IDs of the tickets associated with the event to determine which discounts are applied to which tickets. This all works great!
Instead of having to create a new instance of my custom post type each year for new races and add new tickets to it, I would like to simply edit the current race event custom post to enter the new event date and other information as necessary. This event happens every year and besides the date, most everything else basically stays the same. It is the only event that will be on my site.
I am wondering if it is possible for me to simply go into my custom event post and delete all the attendees associated with it after the event has finished and reuse the event post and it’s existing tickets for the next yearly race event? I won’t need to keep attendee information after the event has passed.
This would allow me to not have multiple copies of the same 3 tickets for the each yearly event in the database as well as not require me to edit the existing discounts since the discounts are applied by using the product IDs associated with the tickets. If I have to create new tickets each time, they will have different IDs associated with them and I would need to modify the discounts code to use the new ticket IDs instead of the old ones which is not a huge deal but it would be nice not to need to do that.
Does this sound like a reasonable way to handle my current scenario? I’m not sure if any issues would arise such as the counts of attendees or tickets sold etc. I would assume that after deleting the attendees that the attendee count would go back to zero and would start counting again once tickets start getting purchased again for the current race event?
Hopefully I’ve explained the situation well enough? Since I’m still relatively early in the development stage, I don’t have any actual attendees in the system yet to try the above with. If there is a better or easier way of accomplishing what I am looking for, I would be open to that as well. If I need to create a new post. recreate the same tickets and edit the discounts code each time there’s a new event, it’s not the end of the world since it only needs to happen once a year but I’m just looking to make the process simple.
Thank you!
August 25, 2017 at 10:54 pm #1340627Jennifer
KeymasterHi Jason,
Thanks for reaching out! I understand where you’re coming from, re-entering info is a pain!
You shouldn’t have any problems doing it the way you’re planning to. I did some testing on my end, and deleting the attendees does reset the ticket counts. Since you’re hard-coding the ticket ID, I’m not sure of a better way to do it than your current method.
Good luck with your development, and if you have any other questions, please let me know!
Thanks,
Jennifer
September 16, 2017 at 9:35 am #1350220Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Reuse Custom Post and Tickets by Deleting Attendees?’ is closed to new replies.
