Support

Home Forums Event Espresso Premium Shortcode – [SHOW_REMAINING_TICKETS]

Shortcode – [SHOW_REMAINING_TICKETS]

Posted: April 17, 2023 at 8:00 am

Viewing 2 reply threads


dee4dogs

April 17, 2023 at 8:00 am

We’ve just updated to the advanced editor, and the two new events that have been created (using the same basic text as old events) aren’t showing the number of remaining tickets available.

Created with Advanced Editor:
https://www.dee4dogs.co.uk/courses/8900/
https://www.dee4dogs.co.uk/courses/puppy-school-lboro-66/
https://www.dee4dogs.co.uk/courses/puppy-school-peggs-green-91/

Created before Advanced Editor:
https://www.dee4dogs.co.uk/courses/puppy-school-lboro-65/

We can see that the “Remaining spaces” text is picked up correctly, but then no number is shown?

I’ve fiddled around with all of the various different ticket/datetime/event settings that I can think of, and I cannot make it display.

Any suggestions? Thank you.


dee4dogs

April 17, 2023 at 8:01 am

Sorry, should have added.
Wordpress version 6.2
EventEspresso version 5.0.3.p


Tony

  • Support Staff

April 17, 2023 at 8:41 am

Hi there,

If you are using this snippet:

https://gist.github.com/Pebblo/339e8b993769bedc5bec0f84af943098

Then it only pulls in tickets that have been set to be required on the event.

When I check the 3 events you’ve listed for 5.0.3 with the advanced editor:
https://www.dee4dogs.co.uk/courses/8900/
https://www.dee4dogs.co.uk/courses/puppy-school-lboro-66/
https://www.dee4dogs.co.uk/courses/puppy-school-peggs-green-91/

The ticket on those events have not been set to be required.

Edit one of the events and click on the stacked icon to edit the ticket:

https://monosnap.com/file/nXAvpqc3oZYSKuvxFpKZQRNiaTEttx

Scroll down on the modal and make sure the ticket is set to be required:

https://monosnap.com/file/FHwrf5TIKBj1uvagzbHOlTk5iBz5bO

Skip prices and submit.

Now check the event on the front end again, does it work then?

Viewing 2 reply threads

The support post ‘Shortcode – [SHOW_REMAINING_TICKETS]’ 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.

Event Espresso