Posted: August 21, 2013 at 12:50 am
|
Hi there, |
|
Hi Sabrina, The invoice template file would need to be changed to show those modifications. As it took 2 minutes, I did a copy for you found here https://gist.github.com/Apina/42a155381855f013e796 You would be advised to copy the event-espresso/gateways/novice folder over to wp-content/uploads/espresso/gateways. and then modify the template.php file there. |
|
Thanks so much Dean!! |
|
No problem. Marking as resolved. |
|
Hi Dean Parse error: syntax error, unexpected T_IF in /home/shebusin/public_html/wp-content/plugins/event-espresso/gateways/invoice/template.php on line 4 I am helping this client with his site. He has his own EE account and I can supply those details via email if you need to verify it. I had a look at the code and couldn’t see an error on line 4 – it looked exactly the same as line 4 on the original. Any ideas? |
|
That is strange, that code should not have been touched. I tested the supplied code and didnt get any errors. Where is the error occurring? Is the client using Multiple Event Registration? Have you checked to make sure the code has been added correctly? If you revert back to the original file does the error still occur? |
|
Hi Dean I replaced the first four lines of the ‘new’ template with the first four of the original as they appeared to be identical, in case that was, for some reason, an issue. So now there is a new error message: Sigh! Nothing wrong with line 4, it’s gone to 14 now. |
|
Oddness. Can I get FTP details please? I’ll have a look at the file firsthand and see if I can notice anything. If so, please send them via https://eventespresso.com/send-login-details/ |
|
Hi, Each empty line in the file had extra space and possibly unknown formatting that was causing an error. I have uploaded a plain text version so please test the invoice. Using programs such as Notepad, Notepad++ or specific coding related programs can help stop errors such as this. |
|
Thanks Dean, |
|
No problem 🙂 |
The support post ‘Changing Invoice Settings re date and ID’ 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.