Home › Forums › Ticket Products › Eventbrite Tickets › Show "Sold Out" for a Sold Out Event
- This topic has 5 replies, 2 voices, and was last updated 6 years, 6 months ago by Maryam.
-
AuthorPosts
-
September 4, 2017 at 7:15 pm #1344668MaryamParticipant
I’m trying to change the formatting on events that have sold out in Eventbrite, but can’t find the right bit of code to look that information up. I downloaded the Event Tickets add-on and tried
<?php if ( tribe_events_has_soldout() ) : ?>
<– code here –>
<?php endif; ?>But that didn’t seem to work. Any advice would be appreciated.
September 5, 2017 at 2:51 pm #1345189VictorKeymasterHi Maryam!
Thanks for reaching out to us! Let me help you with that.
First, please note that we are limited in how much support we can give for custom development questions like that.
That said, we always like helping out and at least point users into the right direction as much possible.
As a start, let me point you to our themer’s guide that will explain how you can customize our templates > https://theeventscalendar.com/knowledgebase/themers-guide/
I’m not really sure where you are trying to change that information. Is it in the single event page or elsewhere? Please let me know so I can see if there is a particular template you would have to customize.
Thanks,
VictorSeptember 5, 2017 at 3:36 pm #1345200MaryamParticipantHi Victor,
Essentially what I’m trying to do is conditionally change the text of the
link to our event pages from “Tickets” to “Sold Out” depending on whether
we have tickets or not. Here’s the page for reference:
http://caveat.nyc/events/I found this bit of code in your documentation to see whether a given event
has tickets or is sold out:
https://theeventscalendar.com/knowledgebase/adding-sold-out-notices-in-list-view/.
But when I try to implement it on my site, it reads every event as having 0
tickets available and 0 tickets sold. Could you advise on what might be the
problem? Is this an Eventbrite Tickets compatibility issue?Thank you,
MaryamSeptember 6, 2017 at 1:25 pm #1345652VictorKeymasterHi Maryam!
Thanks for clearing that out!
I haven’t noticed that you were actually referring only to Eventbrite’s event tickets.
Unfortunately, you won’t be able to make use of the Event Tickets functions as all the ticket information is fetched from Eventbrite and not saved into your site’s database.
The article you share will only be of use for events created using Event Tickets.
We do have an extension that will allow you to customize specific areas of an EventBrite event page here > https://theeventscalendar.com/extensions/eventbrite-additional-options/
I hope that helps!
Best!
VictorSeptember 28, 2017 at 9:38 am #1356198Support DroidKeymasterHey 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 ‘Show "Sold Out" for a Sold Out Event’ is closed to new replies.