Remove text from invoice

This topic contains 11 replies, has 4 voices, and was last updated by  Kiran 2 years, 8 months ago.

Tagged: 

  • Author
    Posts
  • #915

    Spiritualism New Zealand
    Buyer
    Post count: 53

    Hello;

    Is it possible to remove “Thanks for using <website name>” from the bottom of the invoice?

    Also we’d like the bank account number shown on the invoice if the customer selects pre bank transfer – is this possible?

    Thanks!

    #916

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    The way to change text like that (anywhere within the realm of plugin) is to go through the same process as translate the plugin.

    https://wpinvoicing.com/docs/getting-translation-files/

    It’s not hard, and once you do the first one, you will probably find other text that you want to change for your special case.

    #996

    Spiritualism New Zealand
    Buyer
    Post count: 53

    Hello!

    I can alter text no problems using POEdit – but how can I add in text to the invoice?

    I need to add the bank account number, but only if the customer has selected pre bank transfer

    #997

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    You an add text to

    Invoicing > Payment Gateways > Prebank Transfer > Instructions

    This will be added to the emails

    #1001

    Spiritualism New Zealand
    Buyer
    Post count: 53

    Hello!

    I have instructions in that section, and they are displayed on the view / pay link, but they are not in the email anywhere (which I’ve attached)

    Attachments:
    You must be logged in to view attached files.
    #1003

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Please make a private reply and include your site login URL as well as WP Admin credentials so we can login to review your settings.

    Thank you

    #1004

    Spiritualism New Zealand
    Buyer
    Post count: 53
    This reply has been marked as private.
    #1005

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    I can see on your site that the instructions are presented on the confirmation page but are not included in the email.

    I will inquire as to a fix to ensure that payment gateway instructions are included in the email.

    Thank you for your patience while we look into this.

    #1006

    Guust
    Moderator
    Post count: 29970

    EDITED:
    Bank details should be added to the invoice, that should be the default. If it is not, and we need to review your settings, we will need URL and WP admin details to check it out.

    Have a look at Invoicing > Settings > General tab > Text labels
    You will find 2 sections you can use to add to your invoices.
    You can use them to add anything you like, like your bank details etc.
    Let us know if that solves your problem.

    #1007

    Spiritualism New Zealand
    Buyer
    Post count: 53

    Admin details are above.

    Guust, are you referring to Invoice Note and Invoice Notice? Wouldn’t these show on all invoices? We need pre bank transfer to show the bank account details, and cheque payment to show the postal address for the cheque

    #1008

    Guust
    Moderator
    Post count: 29970

    Yes, those 2 fields would show on all invoices.
    I’ll forward this to the developers to consider:

    1. If a user selects pre-transfer, the bank details will show everywhere except in the email body itself.
    2. This may be confusing to some because it is titled “Invoice” but it has no instructions to pay, without clicking through to the website.
    3. Should the same bank details be included in the email body?

    Thanks

    #1012

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    We have improved invoice details sending via email notification. Now it will display bank instructions and bank details like a/c no, name etc on invoice view page & in email too.
    The instruction and bank details will be displayed only on pending payment invoices.

    Please check screenshots in next reply.

    In case you want any custom text on invoice email, then you following code snippet.

    function _wpi_custom_invoice_email_before_details( $invoice, $email_type = '', $sent_to_admin = false ) {
        if ( !empty( $invoice ) && $invoice->gateway == 'bank_transfer' && $invoice->status == 'wpi-pending' ) {
            // YOUR HTML CODE
            ?>
            <?php
        }
    }
    add_action( 'wpinv_email_invoice_details', '_wpi_custom_invoice_email_before_details', 9, 3 );

    You can change “bank_transfer” to “cod”, “paypal” etc for other gateways.

    Thanks,
    Kiran

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Remove text from invoice’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.