• Anyone know how I can add the Product Name to the Email Subject on the New Order email that goes to the administrator?

    I’m already using the filter to change the subject but cannot work out the correct order/cart variable to make it display.

    add_filter('woocommerce_email_subject_new_order', 'change_admin_email_subject', 1, 2);
    function change_admin_email_subject( $subject, $order ) {
    global $woocommerce;

    Any thoughts?

    Regards

    Neil

    https://www.ads-software.com/extend/plugins/woocommerce/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How would I add Product Name to Email Subject of Admin Template?’ is closed to new replies.