WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How would I add Product Name to Email Subject of Admin Template? (2 posts)

  1. llon
    Member
    Posted 1 year ago #

    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

    http://wordpress.org/extend/plugins/woocommerce/

  2. trobh1963
    Member
    Posted 6 months ago #

    I'm looking for the same thing. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic