Support

Home Forums Event Espresso Premium show available tickets in the ticket selector in EE4 code not working anymore

show available tickets in the ticket selector in EE4 code not working anymore

Posted: October 16, 2017 at 4:45 pm

Viewing 5 reply threads


HIL Tennis

October 16, 2017 at 4:45 pm

Does this code work with the current version of EE4? https://gist.github.com/lorenzocaum/a6610712a59cf29cca58 I’ve followed the instructions by the letter, but the available tickets cannot be seen. I see it’s probably from 2015, maybe it needs to be updated? (tip from garthkoyle on EventSmart) Here’s an example URL https://hamar-tennis.no/kurs/bk-tg1/


HIL Tennis

October 16, 2017 at 4:56 pm

sorry my bad, I forgot to activate my site specific plugin 😐 getting late.. working now.. https://hamar-tennis.no/kurs/bk-tg1/


HIL Tennis

October 16, 2017 at 6:15 pm

I got everything working like I would like it to, but the modified ticket_selector_chart.template_show_remaining_tickets.php makes the page look “funny” the location is displayed on the right hand side.. https://hamar-tennis.no/kurs/bk-tg1/ this is how it should look like: https://hamar-tennis.no/kurs-og-trening/ any ideas on what is wrong?


Tony

  • Support Staff

October 17, 2017 at 5:12 am

Hi there,

I can’t view your site currently as its timing out, however, we’ve made some changes to how the ticket selector template loads since that version was created.

Without viewing the page I can’t be sure, but looking over the current template and the template you linked to it looks like there is an additional div within the custom template:

https://gist.github.com/lorenzocaum/a6610712a59cf29cca58#file-ticket_selector_chart-template_show_remaining_tickets-php-L440

Try removing that line from your custom template and see if that fixes it.


HIL Tennis

October 18, 2017 at 4:01 am

That did the trick, working as advertised https://hamar-tennis.no/kurs/uk2-tg1/ πŸ™‚ Thank you so much for your help Tony!


Tony

  • Support Staff

October 18, 2017 at 4:04 am

You’re most welcome πŸ™‚

Viewing 5 reply threads

The support post ‘show available tickets in the ticket selector in EE4 code not working anymore’ 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