Home › Forums › Ticket Products › Event Tickets Plus › Sold Out Events
- This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 18, 2013 at 10:42 am #55906
wineschool
ParticipantI need to be able to hide sold out events from the Calendar. How do I do that? It doesn’t seem like the WooCommerce option to hide sold out items is working with TEC.
I also need to be able to mark events as SOLD OUT in the title of the event or in the first line of the description.
Yes, these two issues are mutually exclusive concepts, but we need to be able to do both.
July 18, 2013 at 2:52 pm #55969Barry
MemberWe may not be able to help with these items right now – simply because they are customizations and we don’t guarantee to be able to assist with those (though we’ll definitely try). We’re having to be a little stricter about this than normal due to heavy demand for support right now, but we will certainly see if we can get you started.
Can I ask however that you choose one of these two customizations to pursue in this thread and then create a separate thread for the other issue?
It would also be great to get just a little more detail:
* Where should events be marked as sold out? In the upcoming events list? In the single event page only?
* Should sold out events be hidden from just the calendar (month view) or also from other views (which)?Please also note that I will not be available tomorrow and so it could be early next week before I can take a good look at what you want here – unless of course another team member is able to step in (and please accept our apologies for any delay that causes).
Thanks!
July 18, 2013 at 3:52 pm #55988wineschool
ParticipantAppreciate the response. This is mission critical for me, so I greatly appreciate the help.
Let’s focus on adding a “Sold Out” notice on event pages other than the single event page.
Events would be marked as SOLD OUT in the List View, Calendar View, and Month view. The wording would be between the DATE and EXCERPT.
Here is an example of what I am looking to do: http://208.82.128.47/wp-content/uploads/2013/07/wsop-soldout-classes.jpg
Cheers.
July 23, 2013 at 7:20 am #56497Barry
MemberSo let’s look at list view first of all.
- Please grab this snippet and add it to your theme’s functions.php file
- Please also add this snippet to the same place
- Note that if you have already added these (perhaps from following advice in a different thread) you should not add them a second time
- You then need to add a further piece of code that leverages the above functions and figures out A) if the event has any tickets and B) if there is no inventory available and then C) adds an appropriate message. Here is a basic example that you would also add to functions.php
Does that help here?
July 23, 2013 at 2:58 pm #56686wineschool
ParticipantWhoop! Barry you are a GOD. That works well, for both the photo and list views. How do I get this same language onto the calendar?
July 23, 2013 at 3:47 pm #56699Barry
MemberSo basically we can just build on that and reuse the same functions. The easiest way to work this into the calendar/grid view is probably to override month/single-event.php … so:
- Copy this template: the-events-calendar/views/month/single-event.php
- Place your copy in: YOUR_THEME/tribe-events/month/single-event.php
- Change it to something like this
July 24, 2013 at 8:56 am #56823wineschool
ParticipantThank you so much for walking me through the logic of TEC and wootickets. I greatly appreciate the help.
July 24, 2013 at 9:28 am #56845Barry
MemberNot at all. Various other permutations are possible, but I’ll leave it to your imagination to do anything further along these lines 🙂
July 7, 2015 at 6:26 am #979359Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Sold Out Events’ is closed to new replies.
