Support

Home Forums Event Espresso Premium [EE4] Couple of small questions

[EE4] Couple of small questions

Posted: May 15, 2014 at 5:08 am

Viewing 4 reply threads


Benjamin Pazdernik

May 15, 2014 at 5:08 am

Hey guys,

I am in the process of setting up a website with Event Espresso 4 and do have a couple of questions.

How do I “translate” the dates and times?
I am using GlotPress to translate the Strings (Months, Days) to German and they do appear translated but in the wrong format: “Samstag Februar 7th, 2015” should read “Samstag 7. Februar 2015”. Also the times are formated with “am” and “pm”. I would like them to be like “16:33” instead of “4:33 pm”.
I set the date format in WordPress General Settings but it does not work for the dates and times output by EE4…

Editing the Invoice Template
Where can I find the invoice / order overview template. I do not need the taxes to be displayed for example as my client does not need to pay any sales tax. Where in the plugin directory is the template file for this?

Need to display IBAN and BIC for bank transfers
As my client operates within the EU he needs to be able to display the IBAN and BIC Codes for bank transfers. Every user in the European Union needs this! Please include this feature in a future update! But how can I modify the EE4-files to be able to display them right now?

Some strings do not get translated even though they are in the .po / .mo files.
Some of the strings seem to not get translated. For example: “Full description of your purchases and registration information. Print it, download it, cherish it” after a purchase of a ticket. Or the string in the “more details” view: “The number of separate event datetimes (see table above) that this ticket can be used to gain admittance to.<br/> Admission is always one person per ticket.“. They do not get translated even though they are in the .po-file…

Thanks!


Lorenzo Orlando Caum

  • Support Staff

May 15, 2014 at 11:08 am

Hi Benjamin,

Here is a tutorial on how to adjust the datetimes in your templates: https://eventespresso.com/topic/format-date-and-time-in-ee4/#post-93329

The invoice template currently offers limited editing through the payment gateways page without editing the core plugin directly.

For the bank transfers — is this something that you can add to one of the existing fields for bank draft?

The confirmation text can be changed with a filter:

add_filter ('FHEE__payment_overview_template__order_conf_desc', 'override_confirmation_text');

function override_confirmation_text() {
    return 'This new description goes here.';
}

Could you post a link to an event?


Lorenzo


Benjamin Pazdernik

May 19, 2014 at 1:51 am

Thank you very much! Everything works like a charm.

What do you mean by “The invoice template currently offers limited editing through the payment gateways page without editing the core plugin directly.” I do want to remove the taxes section from the generatet invoice. Is this possible or not.

Regarding the IBAN and BIC. I kinda hacked this is already. Though I would really appreciate if you would implement this in a future version as the whole EU uses this form of bank transfer!

I do have some other small questions:

In the invoice it’s showing this line:
“Datum/Uhrzeit: Samstag 7. February 2015 12:00 – 7. February 2015 21:00 (Africa/Khartoum)”
The date format is not correct (which isn’t a huge problem on the invoice) but the (Africa/Khartoum) really distracts. where does this come from and how can I change it or remove it?

Also, is it possible to reset the transaction number / invoice number? I did some orders for testing purposes and need to reset that number when the website goes live. Is there any way besides uninstalling and installing Event Espresso from scratch?

I am working on the website locally at the moment. So sorry for not being able to give you a link to an event.


Sidney Harrell

May 19, 2014 at 3:15 pm

As far as editing the invoice templating, it’s doable, but is more difficult to set up currently than it probably needs to be. We are working on this in a future release. You’ll first need to create the folder uploads/espresso/templates/modules/gateways/Invoice/lib. Then you have to copy the folder plugins/event-espresso-core-reg/modules/gateways/Invoice/lib/templates over to uploads/espresso/templates/modules/gateways/Invoice/lib/templates. Then you can edit those files and your adjustments be reflected on the invoice.
Regarding the transaction number, I looked into trying to clear out the transactions table, and ran into some complications. If you have an earlier snapshot backup of the database, you might be able to go back the site’s state after you entered the event data but before you did any transactions. But other than that the best avenue might be to deactivate, wipe out all the wp_esp tables, and reactivate, and reenter the event data.


Lorenzo Orlando Caum

  • Support Staff

December 8, 2015 at 6:33 pm

Hi Benjamin,

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

Viewing 4 reply threads

The support post ‘[EE4] Couple of small questions’ 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