Hi,
If in the Woocommerce->Settings->Checkout->Email-money-transfer in description field, there are html tags that is not closed, it may corrupt the rest of the content. So if that’s the case, please make sure all the html tags are closed.
The latest version of this plugin only includes this instructions to the email_instructions of “processing”, “pending”, and “on-hold” statuses, so it should not be in completed order email.
That was helpful information about the corruption of tags in the emails…
But it is still, unfortunately, in the completed order email…
Actually, it is not being input into the “Processing Order” emails, which is very nice. I don’t want it there either, since that wouldn’t make any sense. But it is still appearing unwanted in the “Completed Order” emails.
Is there anything I can edit in the short term to make sure it doesn’t show up there?
first make sure you have the latest version of the plugin.
If you have modified the email template of woocommerce->Settings->emails->Completed order, please check what may cause this.
If you edit the plugin php file, line 350, it should read like this:
public function email_instructions( $order, $sent_to_admin, $plain_text = false ) {
if ( $this->instructions && ! $sent_to_admin && ’emt’ === $order->payment_method && ( $order->has_status(‘on-hold’) || $order->has_status(‘processing’) || $order->has_status(‘pending’) ) ) {
you can remove “$order->has_status(‘processing’) || ” part of it, if you do not want that instruction in processing email.
Ok, doing that removed the emails from my Completed Order message. Thanks for the quick fix. Not sure what to do about this after updates.
Please tell me what exactly you did to fix it
As you suggested, I removed “$order->has_status(‘processing’) ||” from the plugin php file.
Thanks again for all your help!
It means woocommerce is mixing “processing” status with Completed” status. because what you did is about processing status, and it affects the completed email.
Hopefully for the next version, I will come up with a better solution.