Hi,
1) You may translate emails by using Plugins like LocoTranslate (these strings come from WooCommerce language packs) or by overriding the template within your child theme (see WooCommerce > Settings > Emails or https://docs.woothemes.com/document/template-structure/).
2) This info comes from the bacs payment gateway. You may unhook the instructions by adding this to your functions.php
remove_all_actions( 'woocommerce_thankyou_bacs' );
for further customizations you may need to contact a developer to implement things to your needs.
cheers
Thread Starter
p4rker
(@p4rker)
Thanks a million for your quick answer.
changing the email via poedit has worked like a charm, but adding remove_all_actions( 'woocommerce_thankyou_bacs' );
to functions.php did not make a difference – I first added it to the theme’s general functions.php file , and then also to woocommerce-functions.php … which did not change anything either, this is the way I see the “Bestellung erhalten” as a result:
http://www.kracht.berlin/kasse/bestellung-erhalten/1177/?key=wc_order_56ccb8210c2eb
should I insert it in a particular line / place / file / … / somewhere else?
Thanks again…
And 5 stars for plugin and support!
Thread Starter
p4rker
(@p4rker)
Sorry to be a nudge, but unhooking the bank details still does not work.
To make sure that I am not messing up the wrong files I have installed a plugin to add functions
This is what I tried:
adding your code
remove_all_actions( 'woocommerce_thankyou_bacs' );
adding a code I found here
remove_action( 'woocommerce_thankyou_bacs', 'action_woocommerce_thankyou_bacs', 10, 2 );
unfortunately none of these attempts make a difference, the thank you page is still displaying the account details…
Hi,
then maybe try to load the hook a little bit later, like this:
add_action( 'template_redirect', 'my_theme_thankyou_removal' );
function my_theme_thankyou_removal() {
$gateways = WC()->payment_gateways()->payment_gateways();
remove_action( 'woocommerce_thankyou_bacs', array( $gateways[ 'bacs' ], 'thankyou_page' ) );
}
cheers
Thread Starter
p4rker
(@p4rker)
Awesome. You are a lifesaver.
Thank you – resolved…