Posted: November 3, 2014 at 3:27 am
|
From the example: Line: <?php echo sprintf(__(‘%s (%s)’, “event_espresso”),$attendee->full_name(),$attendee->email())?> We wish to add the phone number variable (which is in our System Question) in the Invoice PDF What variable to use? $attendee->? Is there a page that summarizes the variables. Please advice, need to go live within a day. Multi language site: Thai – English |
|
Hi, Use $attendee->phone(); |
|
Hello, The code given does not work: $attendee->phone() See Pic 1 http://tcppoint.com/download/Event/1.jpg When click back to edit “Registration Details” in the Confirmation Receipt, the phone number is blank.See pic 2 http://tcppoint.com/download/Event/2.jpg However, When go to event>registrations>detail, the phone number is there normally. See pic 3 http://tcppoint.com/download/Event/3.jpg There seems to be a bug that makes it so the phone numbers does not show in the confirmation receipt. Thank you |
|
Hi, Did you modify the sprintf? Code is here: http://pastebin.com/QEKrRcGW Note the additional %s is needed to display the phone number. |
|
Thank you Regarding data in the email how do we: |
|
Hi, 1) You can add the [INVOICE_LINK] message tag (it should go in the Main Content section of the message). 2) you could use the [ANSWER_*] tag (needs to go in the Attendee List section). This is used like so, if you have a question such as What is your favourite colour? you would use [ANSWER_*What is your favourite colour?] So the EXACT question. This will output the answer not the question, so you would perhaps be best in the email to do something like: Favourite colour: [ANSWER_*What is your favourite colour?] and the customer would see Favourite colour: Green |
|
Thank you. But the Invoice Link does not show the same information as the “confirmation order” – I need it to show a manual code, phone number, and reg code. How do I customise invoice? |
Hi Sarah, Have you already relocated a copy of the gateway to another location? If not, could you go ahead and do so to preserve your customizations: https://eventespresso.com/topic/removing-vattax-number-from-invoice/#post-98706 — |
|
|
Hi Lorenzo, This path does not exist: I can only see: I am so sorry but could you explain in more details- step by step in doing this. I really need to customize the invoice as it does not pull the data the bank requires for ref. Thank you |
|
Also, I want to change the “confirmation order” button on Thank You page to “Invoice form” but cannot seem to do this. Any advice? |
Hi, You are copying the templates to a safe location before editing them: https://eventespresso.com/topic/removing-vattax-number-from-invoice/#post-98706 The folder structure would need to be created here: /wp-content/uploads/espresso/templates/ …and the end result will be this: /wp-content/uploads/espresso/templates/modules/gateways/Invoice/lib/templates/ Then you can move the template files there and begin editing. If you skip this step, then your customizations will be lost on a software update. Please give this another try and let us know when the steps above have been completed. — |
|
Hi Sarah, 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/ — |
|
The support post ‘Phone number of Attendees Variable in Invoice PDF’ 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.