Support

Home Forums Event Espresso Premium Templating Thank You Page

Templating Thank You Page

Posted: April 21, 2017 at 8:05 am

Viewing 2 reply threads


Elnino

April 21, 2017 at 8:05 am

Hello,

I wanted to change the order of how things are displayed on the Thank You page.
I ‘d like to know an alternative to avoid overriding core files:

1) I’ve edited \event-espresso-core-reg\shortcodes\espresso_thank_you\templates\thank-you-page-overview.template.php

This way: screenshot

2) I’ve edited \event-espresso-core-reg\shortcodes\espresso_thank_you

This way: screenshot

3) I’d like to move the “Payment Overwiew” section as explained on the screenshot but I haven’t found how to do this.

Thanks for your help.


Elnino

April 21, 2017 at 8:06 am

Sorry the point 2 must read:

2) I’ve edited \event-espresso-core-reg\shortcodes\espresso_thank_you\EES_Espresso_Thank_You.shortcode.php


Tony

  • Support Staff

April 21, 2017 at 8:37 am

Hi there

1) I’ve edited \event-espresso-core-reg\shortcodes\espresso_thank_you\templates\thank-you-page-overview.template.php

Place that template file within the root of your theme, preferably a child theme. EE will use the custom template from there in place of the original.

2) I’ve edited \event-espresso-core-reg\shortcodes\espresso_thank_you

You can’t load a custom version fo that function.

3) I’d like to move the “Payment Overwiew” section as explained on the screenshot but I haven’t found how to do this.

That content is loaded onto the page via ajax, with a few different sections, the change you made to the above function will not change the order.

You could use some CSS to do this:

#espresso-thank-you-page-ajax-content-dv {
    display: flex;
    flex-direction: column;
}
#espresso-thank-you-page-ajax-transaction-dv {
    order: 2;
}
#espresso-thank-you-page-ajax-payment-dv {
    order: 1;
}

You may need to ad some additional rules to cover all basis but the above should get your started.

Viewing 2 reply threads

The support post ‘Templating Thank You 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