Remove text from invoice
This topic contains 11 replies, has 4 voices, and was last updated by Kiran 7 years ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: snippet
-
AuthorPosts
-
November 29, 2017 at 8:05 pm #915
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!
November 29, 2017 at 8:47 pm #916Hello!
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.
December 8, 2017 at 2:20 am #996Hello!
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
December 8, 2017 at 1:50 pm #997Hello!
You an add text to
Invoicing > Payment Gateways > Prebank Transfer > Instructions
This will be added to the emails
December 8, 2017 at 8:01 pm #1001Hello!
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)
December 8, 2017 at 11:03 pm #1003Hello!
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
December 8, 2017 at 11:38 pm #1004This reply has been marked as private.December 9, 2017 at 11:37 pm #1005Hello!
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.
December 9, 2017 at 11:44 pm #1006EDITED:
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.December 10, 2017 at 9:01 pm #1007Admin 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
December 10, 2017 at 10:45 pm #1008Yes, 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
December 12, 2017 at 6:19 am #1012Hi 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 -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket