WooCommerce - excelling eCommerce
Add custom fields to admin-new-order.php template (1 post)

  1. creativenl
    Posted 2 years ago #

    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>


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic