Support

Home Forums Event Espresso Premium Editing the Order Confirmation (2)

Editing the Order Confirmation (2)

Posted: December 9, 2014 at 7:07 pm


Linda

December 9, 2014 at 7:07 pm

WP: 4.0.1
Event Espresso: 4.4.6.p
No add-ons
Registration Page: http://childwitness.com/pancake-luncheon-2015/

Hello,

I’m so sorry if this question has already been asked. I tried searching the forums, but I couldn’t find the answer in one of the existing topics

I want to change the text in the PDF order confirmation that is available at the end of the registration process and appears inside the yellow “Congratulations” box (here is a link if I didn’t explain that well enough).

First, when someone pays by cheque, I want to remove this whole line of text:
Please send this invoice with payment attached to the address above, or use the payment link below. Payment must be received within 48 hours of event date.

And replace it with this:
Please send this invoice with payment attached to the address above before the event (preferred) or bring a copy of the invoice and cheque to the event.

If possible, I also want to remove the entire “taxes” section since no taxes are charged and it just makes the receipt look cluttered with it empty.

Any help would be very much appreciated!


Dean

December 10, 2014 at 4:09 am

Hi,

You can edit the wording via the language files. Here is a guide:

The wording you are looking for is:

%sCongratulations%sYour registration has been successfully processed. Check your email for your registration confirmation or click the button below to view / download / print a full description of your purchases and registration information.

In respect to changing it based on gateway type, it can be done but it will require a minor file edit (I’ll be requesting this edit to be added formally to the plugin) and the use of a function.

If you are happy to dig into code, then I can run you through it. Otherwise you may require a developers assistance to get it working.


Linda

December 10, 2014 at 5:44 pm

I’d be willing to give it a try. Our web host does a backup every six hours, so if something catastrophic happens, I could always restore back.

I checked in the wp-content/plugins/event-espresso-core-reg/languages folder, but the only file in there was an index.php file that was reads:
“<?php
// Silence is golden.
?>”

Also, I checked the files in wp-content/plugins/event-espresso-core-reg/modules/gateways/Check but none of them seemed to be the ones I was looking for.

If you could provide some guidance on how I would go about making those two changes, I would really appreciate it.


Dean

December 10, 2014 at 11:59 pm

OK,

Well I made a basic example here (bear in mind it is just an example) : https://gist.github.com/Apina/c0e434c177b962b73bd7

This can be added, as is, to a site specific plugin (see here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/)

It won’t work however, until you edit this file /wp-content/plugins/event-espresso-core-reg_446/shortcodes/espresso_thank_you/templates/thank-you-page-overview.template.php

The first line will read

it needs to be changed to

I’ve made a request for the above change to be made permanent in future versions of the plugin, but for now, when you update EE that file will need to be checked as updates will over write that change (the site specific plugin is immune to these changes).

I hope that makes some sense, but if not let me know.


Dean

December 10, 2014 at 11:59 pm

Regarding the taxes, can you screen shot or advise which section you are referring to?

The support post ‘Editing the Order Confirmation (2)’ 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