Support

Home Forums Event Espresso Premium EE3 – Tax within Receipt

EE3 – Tax within Receipt

Posted: January 20, 2017 at 7:09 am

Viewing 1 reply thread


TagestourenFranken

January 20, 2017 at 7:09 am

Hi,

I’ve found some topics about inserting tax amount into receipts within EE4. Unfortunately, I’ve to insert a tax calculation in EE3. Is there a way to do that?

Furthermore, I have a date in my receipt template in the upper right corner. But it’s in English. Is there a way to translate that specific date?

Third, I’ve a wrong amount in the “booked events” section of my page. As soon as there are more than one attendee, costs are still shown for one ticket, not as a sum. Do you have a clue why this is shown incorrect?

Finally, there is one single email, I do not find in order to translate it.
It’s the mail that is send after cancelations. It says:
Hello …,
You have successfully cancelled your registration for …
Please, would you be so kind to tell me where to find this mail?

Regards,
Arno


Josh

  • Support Staff

January 25, 2017 at 4:50 pm

Hi Arno,

I’ve to insert a tax calculation in EE3. Is there a way to do that?

EE4 actually only has the tax management features. EE3 didn’t, so that was one of the priorities that went into the development of EE4.

Furthermore, I have a date in my receipt template in the upper right corner. But it’s in English. Is there a way to translate that specific date?

This requires a change to the invoice template. First, you copy the /invoice/ folder from the plugin to /wp-content/uploads/espresso/gateways/

Then, you can line 115 from this:

$pdf->Cell(180, 0, pdftext(__('Date: ', 'event_espresso') . date(get_option('date_format'))), 0, 1, 'R'); //Set invoice date

to this:

$pdf->Cell(180, 0, pdftext(__('Date: ', 'event_espresso') . date_i18n(get_option('date_format'))), 0, 1, 'R'); //Set invoice date

Third, I’ve a wrong amount in the “booked events” section of my page. As soon as there are more than one attendee, costs are still shown for one ticket, not as a sum. Do you have a clue why this is shown incorrect?

It’s not actually incorrect because it’s showing the price per ticket.

Finally, there is one single email, I do not find in order to translate it.
It’s the mail that is send after cancelations. It says:
Hello …,
You have successfully cancelled your registration for …
Please, would you be so kind to tell me where to find this mail?

The text there is translation-ready. You can find the original text in the espresso-members plugin folder’s my_events_page.php file, in the espresso_send_attendee_cancel_notification() function. You can actually override that function using another function if you’d like, it’s pluggable.

Viewing 1 reply thread

The support post ‘EE3 – Tax within Receipt’ 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