ABoccaccio
January 18, 2018 at 4:30 pm
Hi! I need to show the ticket link in the confirmation page, for a free event. It’s possibile?
Tony
January 18, 2018 at 4:35 pm
Add New Note to this Reply
Hi there,
When you say confirmation page, do you mean ths thank you page?
If so you can use something like this:
https://gist.github.com/Pebblo/525890c30baa7e207e4f
Add that snippet to a custom functions plugin on your site and it will add a download your tickets button to the thank you page.
ABoccaccio
January 18, 2018 at 4:38 pm
Add New Note to this Reply
I had seen that solution, but entering the code on the thank-you-page-registration-details.template.php page did not work.
Where and how I have to add it?
Tony
January 18, 2018 at 4:41 pm
Add New Note to this Reply
Please don’t edit core files, there’s no need to and it prevents us from providing support.
You can add that snippet to a custom functions plugin on your site:
https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/
ABoccaccio
January 18, 2018 at 4:42 pm
Add New Note to this Reply
I make a hypothesis: is it possible that that code does not work with free events?
ABoccaccio
January 18, 2018 at 4:45 pm
Add New Note to this Reply
OK thanks! I knew I was doing something wrong by modifying the core, but I was in the last desperate attempt 🙂
Tony
January 18, 2018 at 4:48 pm
Add New Note to this Reply
I make a hypothesis: is it possible that that code does not work with free events?
The thank you page is same for all events, and the snippet basically checks the status of the registration before displaying the link.
Free tickets will automatically approve a registration, if the registration is approved, that snippet shows the ticket link, so it should work fine 🙂
ABoccaccio
January 18, 2018 at 4:59 pm
Add New Note to this Reply
It’s OK! Thank you!
Tony
January 19, 2018 at 1:46 am
Add New Note to this Reply
You’re most welcome.