Posted: November 14, 2014 at 10:29 am
|
Hi, Some nice support person provided me the following code so that I’d have a Shortcode to display the remaining tickets available for an event. The problem is that it works 99% of the time, but occaisionally for some events, it doesn’t work at all and returns erroneous results. An example of this is shown at this page http://www.bsop.ca/edmonton-digital-camera-fundamentals-photography-classes/ which shows the January 10 & 11, 2015 with 13 spots available when it is actually sold out. The code is here:
Please help. |
|
Forgot a bit of code….
|
Hi Paul, Are you setting the quantity limit to the tickets, the datetimes, or both? |
|
|
Josh, I’m attaching a screen shot of the edit screen for the event. I suspect the problem is the two extra tickets (never meant to create them). The problem is that I can’t change the quantity or delete the tickets. When I click on delete, the tickets temporarily disappear until I click Update/Publish and then they are back. Also, if I change the event to Private temporarily, I can change the quantities to 0, but then as soon as I make the event public again, the old quantities show up. Here’s the link to the screen shot. Argh. |
Hi Paul, Can you click the little gear icon on the line of the sold out ticket (the sold out ticket has the yellow indicator on the left side) Then, can you make sure that the checkbox for Class 1 is checked? This is because the Class 1 is the datetime that has the quantity set. The custom code that you are using is intended to be used for events that have one datetime. It will also work if an event has more than one date time as long as the tickets are assigned to the datetime that has the quantity set. |
|
The support post ‘Help showing capacity’ 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.