Posted: June 27, 2017 at 6:50 am
I’ve seen the patch for national variants of venue address: https://gist.github.com/lorenzocaum/5e2658a1f7e7a9a6b5c0 |
|
Hi there, Where do you want to change the output? Within messages? |
|
On the invoice |
|
You can go to Event Espresso > Messages > Message Templates > Invoice and edit the main content section. You’ll see the Bill To: section there, just like in this screenshot. You can change the location of the address related shortcodes there to suit your needs. The postal code isn’t there by default and you can add it by adding:
Please be sure to click on Save after you make the edits there. |
|
Your patch isn’t working, I’m afraid. I’ve changed the template as follows: |
|
Hi there, Looking over your site I can’t see the ‘Firma’ question on the registration page, have you removed that question?
Are you editing a custom Invoice template or the default one? If you are editing a custom Invoice template have you selected that template within the event? |
|
I’m working on my son’s website: walterlernt.ch |
|
Are you editing A) a custom Invoice template or B) the default one? |
|
I’m editing the default invoice template. I have no custom one. |
|
After you make the edits and hit save are there any errors displayed? |
|
No. It screamed at me when I had a typo. But otherwise no error message. |
|
That site is using the ‘old’ Invoice system, which means you are loading a custom template from within Making changes to the invoice template within the admin will have no effect as with your set up you are not using it at all, you are using the custom template from above. That method of customising the Invoice template has been deprecated for a while now, I highly recommend switching to the new Invoice system, it is still included within EE for legacy support. It allows you to transfer all of your customizations over to the template within the admin and then de-activate the above rather than it just simply switching over automatically. You can de-activate the old invoice system by renaming the |
|
You say “It allows you to transfer all of your customizations over to the template within the admin …” How do I do that? Is there a risk of losing custom messages or something else? |
|
You apply any changes you have made to the old style invoice system to the template within: Event Espresso -> Messages -> Default message templates -> Invoice. Then remove the old template from wp-content.
I have no idea how the site is setup so I can’t answer that fully. You shouldn’t have any risk of losing custom messages but again I’m not 100% sure how the site has been setup. To provide some details, in EE4.6 (released Feb 3, 2015) the Invoice and Receipts were incorporated into the messages system, this allowed you to edit the templates within the Admin. Prior to that version you had to edit a template and place that template within On that site that has been done so EE loads that template and doesn’t use the ‘new’ invoice within the messages system. Whomever made that custom template changed how EE loads the invoice system, to switch over you need to apply any changes you need to the Invoice within the messages system and remove the custom template.
The new invoice system is used by default, the only way for the old system to be used is if you (or someone else) has manually added the old invoice templates within wp-content. In other words, whoever edited the invoice template made the choice to use that system, not EE. We can’t prevent that, it’s a feature not a bug.
Have you added your own invoice templates into A quick way it to look at the URL of the invoice, if it has |
|
The support post ‘Reformat registrant address’ 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.