Support

Home Forums Event Espresso Premium Change "Transation ID" to "Invoice ID"

Change "Transation ID" to "Invoice ID"

Posted: January 26, 2015 at 5:38 am


Miramedia

January 26, 2015 at 5:38 am

EE4.4.8p | WP 4.1 | New Install | http://booking.theestas.com/

I need to adjust the wording on the PDF invoice, currently it says ‘Transaction ID’, I need it to say ‘Invoice ID’.

I’ve tried a basic translation…


/**
 * Change comment form default field names.
 *
 * @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
 */
function theme_change_comment_field_names( $translated_text, $text, $domain ) {

    switch ( $translated_text ) {

        case 'Transaction ID' :

            $translated_text = __( 'Invoice ID' );
            break;
    }

    return $translated_text;
}

…but that doesn’t seem to work for the invoice.

Any ideas?


Lorenzo Orlando Caum

  • Support Staff

January 26, 2015 at 9:54 am

Hello, please see this tutorial for how to relocate the Invoice payment gateway templates:

https://gist.github.com/lorenzocaum/8293db568a914b5317fb

Then open up invoice_body.template.php and edit the verbiage around line 27 (and possibly line 193) and save changes.


Lorenzo

The support post ‘Change "Transation ID" to "Invoice 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Lorenzo Orlando Caum 4 years, 10 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!