Try the following that should display your ACF value under the item name in email notifications:
// Display Items Shipping ACF custom field value in email notification
add_filter( 'woocommerce_order_item_name', 'custom_order_item_name', 10, 2 );
function custom_order_item_name( $item_name, $item ) {
// Targeting email notifications only
if( is_wc_endpoint_url() )
return $item_name;
// Get the WC_Product object (from order item)
$product = $item->get_product();
if( $shpng_value = get_field('shpng', $product->get_id()) ) {
$item_name .= '<br><p class="item-shpng" style="margin:12px 0 0;">
<strong>' . __( 'Shipping Date', 'woocommerce' ) . ': </strong>' . $shpng_value . '</p>';
}
return $item_name;
}
Code goes in function.php file of your active child theme (or active theme). Tested and works.
Continuation of: Display product custom fields in cart next to each item name in Woocommerce