I would like to move the bank name, in this case “Standard Bank”, to the details listed on the frontend and email template, instead of next to the Account Name, without hacking the class file.

Im using woocommerce and the BACS payment method.
The payment class can be found at woocommerce/classes/gateways/bacs/class-wc-bacs.php and the function on line 236.

Would like to change eg:

Our Bank Details

Phoenix Performance Pty Ltd Standard Bank

  • Account Number: xxxxxxxxx
  • Branch Code: xxxx
  • Account Type: Business Cheque Account

to

Our Bank Details

Phoenix Performance Pty Ltd

  • Bank Name: Standard Bank
  • Account Number: xxxxxxxxx
  • Branch Code: xxxx
  • Account Type: Business Cheque Account

using a filter hook. Any help would be appreciated. Thanks

Read more here: Woocomerce - Add Bank Name to the fields list in Our Bank Details [on hold]


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , ,

Wordpress related questions and answers: