Support

Home Forums Event Espresso Premium How to remove the Registration Confirmation Details Table

How to remove the Registration Confirmation Details Table

Posted: August 28, 2020 at 9:48 am


mbeede@tracom.com

August 28, 2020 at 9:48 am

Greetings – Can you please tell me how can I remove the details table (and headers for it) on the Registration Confirmation (Thank You) page? – Thanks!


Tony

  • Support Staff

September 1, 2020 at 4:19 am

Hi there,

Depending on your site setup there are a couple of tables there, so may I ask which specific table you are referring to?

If you can include a link to either an event I can register on to view them, or a link directly to a the thank you page for a test registration I’ll take a look.

(You can mark you reply private so only EE staff can view it)


mbeede@tracom.com

September 14, 2020 at 10:20 am

Tony – So here is a link to the event. Click the Continue button to go to the Registration page. Fill in the fields with whatever you want except for the Access Code field. Input “EYAccessCode” for that field. Then click the Start Profile button. The Thank You page should display next.

https://tracomtrainstg.wpengine.com/sessions/ey-americas-social-style-multi-rater

So on this page I need to:

1) Remove the entire Registration Details section: Header, text under it, and the table.

2) Change the Thank You text (in the box)

3) Change the “View Full Order Confirmation Receipt” text

4) Remove the PDF icon image from the button

5) When you click on the button have it do a redirect to another website page.

Can you help me out with these?

Thanks in advance, Mark


mbeede@tracom.com

September 14, 2020 at 10:36 am

Tony – I figured out 2 and 3. So I just need 1, 4, and 5.


mbeede@tracom.com

September 14, 2020 at 4:38 pm

I figured out Item #1 too. So I just need Items 4, 5, and if you could tell me how to change the color of the button too that would be great:

4) Remove the PDF icon image from the button

5) When you click on the button have it do a redirect to another website page.

Thanks – Mark


Tony

  • Support Staff

September 15, 2020 at 8:51 am

I tried your steps above but I was redirected to the learning site before the thank you page.

4) Remove the PDF icon image from the button

You can use some CSS for this:

#espresso-thank-you-page-overview-dv .ee-icon-PDF-file-type {
    display: none;
}

However…. with this:

5) When you click on the button have it do a redirect to another website page.

You could take over the template used to output those details meaning you can simply remove it from the button altogether.

Copy \event-espresso-core-reg\shortcodes\espresso_thank_you\templates\thank-you-page-overview.template.php into your theme’s root directory.

In that location, remove <span class="ee-icon ee-icon-PDF-file-type"></span> from the template to remove the the PDF icon.

Then swap out the usage of $TXN_receipt_url for your own variable after you’ve set it, something like:

$my_custom_url = 'https://example.com'; (Obviously set your URL here)

Then replace $TXN_receipt_url with $my_custom_url.

Like so: https://gist.github.com/Pebblo/75ddf834f0d7f6618ae18b5dcbafc64d

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 week, 2 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!