Hide Payment Method from invoice
-
Hello Community & WooCommerce PDF Invoices & Packing Slips Team,
I want to hide Payment Method from invoice. I added the code bellow to my child theme finctions.php to hide Subtotal and Payment method, it works fine for Subtotal but for Payment method doesn’t work. By the way this code works well for woocommerce emails.
Code:
function adjust_woocommerce_get_order_item_totals( $totals ) { unset($totals['cart_subtotal'] ); unset( $totals['payment_method'] ); return $totals; }
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hide Payment Method from invoice’ is closed to new replies.