Hallo!
Ich habe ein Problem mit den WooCommerce E-Mails, speziell mit der E-Mail, die nach der Bestellung rausgeht. Und zwar wird darin ein "Jetzt bezahlen"-Link angezeigt (direkt über der Bestellnummer), der nicht angezeigt werden soll.
Siehe Bild:
[Blockierte Grafik: https://www.campaz.de/wp-content/uploads/2018/04/screenshot.PNG]
Ich habe versucht, das zu überschreiben bzw. überhaupt einmal eine Anpassung der E-Mail vorzunehmen.
Das habe ich z.B. über die functions.php probiert:
Code
// Add the following to your theme's functions.php:
add_action( 'woocommerce_order_status_pending_to_processing_notification', 'watch_for_processing_email', 5 );
function watch_for_processing_email() {
// only add the instructions for processing type emails
add_action( 'woocommerce_email_before_order_table', 'add_order_email_instructions', 10, 2 );
}
function add_order_email_instructions( $order, $sent_to_admin ) {
echo '<p><strong>Instructions:</strong> Your order will not be processed until the money is transfered</p>';
}
Alles anzeigen
Ich weiß, das hat jetzt mit dem Problem nichts zu tun, aber selbst das wird nicht angezeigt!
Ich verstehe das nicht... :(
Google war nicht mein Freund, also bitte, wenn jemand eine Idee hat, gerne her damit. Danke!