Customize Email of woocoomerce

0

With this code I can remove the subtotal and the payment method

add_filter( 'woocommerce_get_order_item_totals', 'adjust_woocommerce_get_order_item_totals' );

function adjust_woocommerce_get_order_item_totals( $totals ) {
  unset($totals['cart_subtotal']  );
  unset( $totals['payment_method'] );   
  return $totals;
}

But I need to remove much more than the subtotal and the payment method, I need to disappear more things like product price and total something like that

Is there a plugin or other method of doing this?

    
asked by anonymous 28.02.2018 / 21:08

0 answers