• In my configuration i added 2 custom fields. These fields should be added to the e-mail notifications.

    I thought this would work in admin-new-order.php template.. but it doesn’t. How can i add the fields e_deliverydate and e_deliverytime to this template and maybe the one for the customer.

    <p><?php printf( __( 'You have received an order from %s. Their order is as follows:', 'woocommerce' ), $order->billing_first_name . ' ' . $order->billing_last_name . ' ' . $order->e_deliverydate . ' ' . $order->e_deliverytime); ?></p>

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

  • The topic ‘Add custom fields to admin-new-order.php template’ is closed to new replies.