Answer the question
In order to leave comments, you need to log in
Remove line from woocommerce customer email?
You need to remove the line with information about the payment method from the client's letter, prntscr.com/pkkohi .
In the template, a group of fields is displayed with one hook, because of this I can’t just remove it. Thank you)
Letter template code code
Answer the question
In order to leave comments, you need to log in
You need to copy the email-order-details.php file from plugins/woocommerce/templates/emails/ into your theme in the themename/woocommerce/emails/ folder and edit it.
There is
$totals = $order->get_order_item_totals();
foreach ( $totals as $total ) {
...
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question