Viewing 1 replies (of 1 total)
  • Thread Starter Caleb OLoan

    (@caleb-oloan)

    I found this solution. Add this to your functions.php

    // add time and date to email
    add_action( ‘woocommerce_email_before_order_table’, ‘add_content’, 20 );
    function add_content() {
    echo ‘<h2 id=”h2thanks”>Order Time & Date</h2>’;
    date_default_timezone_set(‘Europe/London’);
    echo date(‘d/m/y h:i a’, time());
    echo ‘<div style=”height:20px;”></div>’;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce – Order Time in Notification Emails’ is closed to new replies.