Support

Home Forums Event Espresso Premium Ticket link in confirmation page

Ticket link in confirmation page

Posted: January 18, 2018 at 4:30 pm

Viewing 8 reply threads


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

  • Support Staff

January 18, 2018 at 4:35 pm

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

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

  • Support Staff

January 18, 2018 at 4:41 pm

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

I make a hypothesis: is it possible that that code does not work with free events?


ABoccaccio

January 18, 2018 at 4:45 pm

OK thanks! I knew I was doing something wrong by modifying the core, but I was in the last desperate attempt ๐Ÿ™‚


Tony

  • Support Staff

January 18, 2018 at 4:48 pm

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

It’s OK! Thank you!


Tony

  • Support Staff

January 19, 2018 at 1:46 am

You’re most welcome.

Viewing 8 reply threads

The support post ‘Ticket link in confirmation page’ 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