0

I'm trying to change the "product" column title for downloadable products on customers email notification after completing a purchase.

Any advice would be greatly appreciated.

LoicTheAztec
  • 229,944
  • 23
  • 356
  • 399
J-E
  • 23
  • 3

1 Answers1

1

Using woocommerce_email_downloads_columns filter hook will allow you to change the column label name to something else:

// Change email downloads specific column label name
add_filter( 'woocommerce_email_downloads_columns', 'filter_wc_email_downloads_columns' );
function filter_wc_email_downloads_columns( $columns ) {
    $columns['download-product'] = __( 'Name', 'woocommerce' );

    return $columns;
}

Code goes in functions.php file of your active child theme (or active theme). Tested and works.

Similar: Change column titles from downloads table on Woocommerce Thankyou page

LoicTheAztec
  • 229,944
  • 23
  • 356
  • 399