Home › Forums › Ticket Products › Event Tickets Plus › Edit Single Recurring Event and Tickets
- This topic has 14 replies, 3 voices, and was last updated 9 years, 2 months ago by
Benjamin.
-
AuthorPosts
-
February 10, 2017 at 1:26 pm #1233070
Benjamin
ParticipantIf I split a recurring event, so that I can edit each day separately, e.g. Edit Single., will the Ticket I created for that recurring event still be shared – so that I have one Woocommerce product and one ticket count for the entire “event.”
It’s important that I maintain one ticket for the series.
February 13, 2017 at 5:22 pm #1234208Geoff B.
MemberGood evening Benjamin and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.If I split a recurring event, so that I can edit each day separately, e.g. Edit Single., will the Ticket I created for that recurring event still be shared – so that I have one Woocommerce product and one ticket count for the entire “event.”
The short answer is no.
As soon as you break an event from the series, it is considered a completely different and autonomous event.
As such, it will not longer share the ticket.
Perhaps if you give me a bit more details, I could help you achieve your goal through the usage of some exceptions or custom recurring rules ?
Best regards,
Geoff B.
February 15, 2017 at 11:27 am #1236018Benjamin
ParticipantHi Geoff,
Thanks for your help.
Here’s the issue we’re wrestling with. We have a three part event, which we added to our calendar as a recurring event. We also created a ticket for the event. We’re using Event Tickets Plus with The Events Calendar Pro.
When you click on the event in the calendar view or when you click “See All” in the Listing or Photo view, you arrive at a page, which lists all 3 events with the price beside each event. This is confusing, because 1. The ticket is for attending all 3 events not just one, and 2. the information is the same (repeated three times) which is not helpful. We’d either like the event listed once with the dates for all, or we’d like to customize each one. We thought of editing them individually (single edit), but per your reply that would break the ticket up. It’s confusing that the price would be listed multiple times although it’s a ticket for the entire recurring event, yes?
Is there a way to create a ticket to a multi-day event?
February 15, 2017 at 7:56 pm #1237767Geoff B.
MemberGood evening Benjamin,
Thank you for writing back and for the extra information.
In that case, I believe you could probably accomplish what you are looking for with settings and perhaps some CSS.
Recurring events is the way to go in this case. We will just need to focus on how the result is displayed.
Here are a few ideas:
- You could hide the “see all” link through a template override. You might want to read our Themer’s guide to get a sense of how that works.
- You could use the settings for recurring events found under Events -> Settings -> General
- You could just use some good old CSS (even specific to that event) to hide what you don’t want to see.
Ideally, if you had that event “live” for me to see (either on a staging site or an event very far in the future so nobody sees it), I could give you a hand with the CSS.
Best regards,
Geoff B.
February 21, 2017 at 7:06 am #1242919Benjamin
ParticipantHi Geoff,
I haven’t been able to get satisfactory results.
Here’s our homepage:
http://charlottesvillecookingschool.com/
If you scroll down and look for the event called “THREE-PART SERIES: EVERYDAY COOKING SKILLS with Martha Stafford,” clicking that event brings you here:
This is a recurring event with a one-time fee, but the page is confusing. It displays each class in the series as though it were a separate event with a separate price, but then it uses the same content in each instance.
Per your suggestions:
1. Hiding the “See All” button won’t work, because clicking the event takes you to this same page as well.
2. I haven’t been able to find a setting that would fix this problem.
3. If I use CSS to hide the second 2 instances of the event, then you only see the date and time for the first event, which is also incorrect.
I can imagine two fixes that make sense:
1. If we could manually edit the second two events (and hide the price), then it would look like a single multi-date event. But per your last response, it sounds like Single Edit splits the ticket (so this won’t work).
2. If we could add the date and time for all three events to the first instance and hide the other two, this would also work.
Thanks for your help,
Ben
February 22, 2017 at 12:07 am #1243583Geoff B.
MemberGood evening Ben,
Thank you for writing back and providing more context.
Based on what you are trying to do, at the very least, adding the following snippet in your theme’s functions.php file (save for the opening php tag) will help: https://gist.github.com/GeoffEW/7d267bb8d88a2312cd69d51d47f522d4
Let me know if that works for you.
Best regards,
Geoff B.
February 26, 2017 at 5:04 pm #1246076Benjamin
ParticipantHi Geoff,
So this hides the repeating price, which is a start, but it leaves the same content repeating for every event.
Shouldn’t we just display the content once with all the dates/times?
Thanks,
Ben
February 27, 2017 at 11:10 pm #1246703Geoff B.
MemberGood evening Ben,
I am glad this helped.
Shouldn’t we just display the content once with all the dates/times?
This is definitely a matter of personal preference.
Believe or not, the default way of displaying things is the preferred approach for most people.With that in mind, I guess you could cheat with some CSS.
Try adding the following CSS rule to your style.css file or in your Custom CSS metabox:
.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first .tribe-events-event-image, .tribe-events-list-separator-month+.type-tribe_events.tribe-events-first .tribe-events-list-event-description {display: none !important;}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first+.tribe-events-list .type-tribe_events .tribe-events-list-event-title {display: none !important;}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first+.tribe-events-list .type-tribe_events .tribe-events-event-image {display: none !important;}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first+.tribe-events-list .type-tribe_events:last-child .tribe-events-list-event-description {display: block !important;}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first+.tribe-events-list .type-tribe_events:last-child .tribe-events-event-image {display: block !important;}Let me know how that goes.
Best regards,
Geoff B.February 27, 2017 at 11:10 pm #1246704Geoff B.
MemberGood evening Ben,
I am glad this helped.
Shouldn’t we just display the content once with all the dates/times?
This is definitely a matter of personal preference.
Believe or not, the default way of displaying things is the preferred approach for most people.With that in mind, I guess you could cheat with some CSS.
Try adding the following CSS rule to your style.css file or in your Custom CSS metabox:
.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first .tribe-events-event-image, .tribe-events-list-separator-month+.type-tribe_events.tribe-events-first .tribe-events-list-event-description {display: none !important;}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first+.tribe-events-list .type-tribe_events .tribe-events-list-event-title {display: none !important;}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first+.tribe-events-list .type-tribe_events .tribe-events-event-image {display: none !important;}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first+.tribe-events-list .type-tribe_events:last-child .tribe-events-list-event-description {display: block !important;}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first+.tribe-events-list .type-tribe_events:last-child .tribe-events-event-image {display: block !important;}Let me know how that goes.
Best regards,
Geoff B.February 28, 2017 at 7:07 am #1246867Benjamin
ParticipantHi Geoff,
I’m all about cheating with CSS. In fact, I’d successfully written styles that gave me the result I wanted except… it relies on classes used elsewhere in the calendar, and I’ve been unsuccessful at finding a high level class that essentially means “this is a recurring event page” to limit the effect of what I had written.
Your CSS doesn’t work either. In effect it hides the description and image from the first event, but leaves the next two.
Working from this page:
This CSS hides all the event info except the .tribe-event-schedule-details and then uses the .tribe-events-first class to turn back on the first event. The result is that the first event displays after which only the schedule details appear for each following event.
The problem is it screws up the calendar everywhere else on the site, because these are commonly used classes in the plugin.
Are you aware of a higher level CSS class that would limit the effects of this CSS to the recurring event page?
.type-tribe_events .tribe-events-list-event-title {
display:none;
}.type-tribe_events .tribe-events-venue-details {
display:none;
}.type-tribe_events .tribe-events-event-image {
display:none;
}.type-tribe_events .tribe-events-list-event-description {
display:none;
}.tribe-events-first .tribe-events-list-event-title {
display:block;
}.tribe-events-first .tribe-events-event-meta {
display:block;
}.tribe-events-first .tribe-events-event-image {
display:block;
}.tribe-events-first .tribe-events-list-event-description {
display:block;
}February 28, 2017 at 11:23 pm #1247449Geoff B.
MemberGood evening Benjamin,
Thank you for your answer.
I totally agree with you. Having a class that limits things to recurring events would be awesome.
In fact, having distinct CSS classes on each of the recurring events in that list would also help greatly.
With that in mind, I will ask our coding ninjas to see if they cannot come up with some way to achieve that.
Hang in there as I follow-up on this for you.
Best regards,
Geoff B.
March 1, 2017 at 11:33 am #1247883Geoff B.
MemberGood afternoon Ben,
I have some good news.
You can apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/elimn/4a8079fa2c45ef074aeb8afe3748f459
This should add the wanted CSS class.
Let me know if that helps.
Have a great day!
Geoff B.
March 15, 2017 at 6:41 pm #1254852Benjamin
ParticipantHi Geoff,
Sorry for the slow reply, I was on vacation. This worked perfectly. I was able to tweak the content with the new classes for the recurring event template.
Thank you for your help in coming up with a solution! I really appreciate it.
Thanks,
Ben
March 16, 2017 at 8:55 am #1255133Geoff B.
MemberGood morning Ben,
II am super stoked that this did the trick for you.
You are welcome back in our support forums any time 🙂
For now, I am going to close this thread.
Have a great week!
Geoff B.
-
AuthorPosts
- The topic ‘Edit Single Recurring Event and Tickets’ is closed to new replies.
