Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 104029

llon on "[Plugin: WooCommerce - excelling eCommerce] How would I add Product Name to Email Subject of Admin Template?"

$
0
0

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/


Viewing all articles
Browse latest Browse all 104029

Trending Articles