Support

Home Forums Event Espresso Premium Changing Order Confirmation Wording

Changing Order Confirmation Wording

Posted: November 14, 2014 at 4:40 pm


Julie

November 14, 2014 at 4:40 pm

V4 WordPress
EE4.4.5
Mail Chimp and Social Sharing add ons

Hi there – I am trying to edit the order confirmation form that is published and can be loaded as a PDF on completion of registration. Based on instructions elsewhere on the forum I have copied the files from

/wp-content/plugins/event-espresso-core-reg/modules/gateways/Invoice/lib/templates to
wp-content/uploads/espresso/templates/modules/gateways/Invoice/lib/templates

When I edited the text in the file receipt_body.template.php but it keeps giving me an error message when I upload to my site.

I have edited the wording by changing the text in the following way. For example,
FROM
h2 id=”invoice-hdr”><?php _e(‘Order Confirmation’, ‘event_espresso’)?></h2>

TO

h2 id=”invoice-hdr”><?php _e(‘Booking Confirmation’, ‘event_espresso’)?></h2>

Am I editing this the wrong way? I am not an experience programmer but have been able to customise my website previously.

Please can you advise on how I can edit this file so it won’t give me the error messages.

Many thanks, Julie


Lorenzo Orlando Caum

  • Support Staff

November 14, 2014 at 5:12 pm

Hi,

From your example, it looks like you edited a single word.

What is the error that appears?


Lorenzo


Julie

November 14, 2014 at 5:37 pm

Hi Lorenzo,

Here’s the message – line 37 is where the word has been changed.

Parse error: syntax error, unexpected T_STRING in /home/jfleming/foodgatherings.com/wp-content/uploads/espresso/templates/modules/gateways/Invoice/lib/templates/receipt_body.template.php on line 37


Lorenzo Orlando Caum

  • Support Staff

November 14, 2014 at 8:34 pm

Hi,

That should work fine:

http://cl.ly/image/023Z270r1t1i

Try uploading this file:

http://cl.ly/code/2I0H1r0j191N

…to this location:

/wp-content/uploads/espresso/templates/modules/gateways/Invoice/lib/templates


Lorenzo


Julie

November 15, 2014 at 1:02 pm

Thanks Lorenzo, that worked. There are a few other edits I want to make but now stumped as to how to do these. This includes:

Change VAT/Tax Number: to read GST Number

and the change the payment message “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.” to read:

Please make an electronic bank transfer using the payment details provided. Payment must be received within 48 hours of your booking for tickets to be confirmed. For any queries about making your transfer to Food Gatherings, please contact us.

Sorry to be a pain, this is the only thing I need sorting before I can get my first event live on my website.

Thanks Julie


Lorenzo Orlando Caum

  • Support Staff

November 16, 2014 at 8:55 pm

Hi, you can edit the receipt_body.template.php file that you uploaded.

The other messaging can be changed through the invoice payment method settings in your WordPress dashboard.


Lorenzo


Julie

November 16, 2014 at 9:29 pm

Thanks Lorenzo, I’ll give this another go when I tried with you file I still got same error message. Julie


Lorenzo Orlando Caum

  • Support Staff

November 17, 2014 at 8:56 am

Hi Julie,

It sounds like you may be editing the file locally on your computer and that is causing some issues. Are you using FileZilla or Cyberduck?

You should be able to edit the file remotely.


Lorenzo


Julie

November 17, 2014 at 11:02 am

Hi there – am using filezilla to upload. I’ll try editing remotely and see what happens. Thanks for the pointer. Julie


Lorenzo Orlando Caum

  • Support Staff

December 8, 2015 at 6:27 pm

Hi Julie,

When we shared feedback on your question last year, copying over the templates for editing was the recommended way to edit the templates for the Invoice or Receipt.

That has changed as Event Espresso 4 now has an editor to edit those templates through the WP dashboard.

It can be found in Event Espresso –> Messages. You’ll now be viewing the Messages Overview screen. Now look for Invoice or Receipt and click on Purchaser. Here is an example of how they appear on the Messages Overview Screen:

http://cl.ly/image/2O341M2z0H1q

If you do not see them, then you may be using an old version of Event Espresso 4 or they may be on page 2 so you can paginate (browse) to page 2 and they should be there.

Here is a change log for Event Espresso 4:

https://eventespresso.com/wiki/ee4-changelog/

If you have any new questions about the using the messages system, then please create a new support post in our support forums:

https://eventespresso.com/support/forums/


Lorenzo

The support post ‘Changing Order Confirmation Wording’ 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