• Hello,

    Just noticed that the delivery info is not shown in the email for the admin (new order notice), it is just in the client confirmation!

    Can this be added as well?

    Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    Could you please confirm whether you are using the latest version of our plugin?

    If not, please check by updating the plugin to the latest version.

    Thank you!

    yes, version 1.0.3

    Plugin Author ThemeHigh

    (@themehigh)

    Your issue needs a detailed check. Can you please raise a ticket through our website? We hope our technical team will be able to help you.

    Thank you!

    can we not do this remotely? also I have two distinct orders where in the client email the delivery date & time was not added either.

    Plugin Author ThemeHigh

    (@themehigh)

    The issue seems to be site specific. So, we need to check exactly what’s cause of issue. Due to this reason, we are asking you to raise a ticket through our website.

    I forced them to be displayed with this code:

    add_action( 'woocommerce_email_order_details', 'uprise_hook_data_into_email', 10, 3 );
    function uprise_hook_data_into_email( $order, $sent_to_admin, $plain_text ) {
    	$order_type          = get_post_meta( $order->get_id(), 'thwdtp_order_type', true );
    	$delivery_datepicker = get_post_meta( $order->get_id(), 'thwdtp_delivery_datepicker', true );
    	$delivery_time       = get_post_meta( $order->get_id(), 'thwdtp_delivery_time', true );
    
    	echo '<p><strong>' . __( 'Type:', 'uprise' ) . '</strong> ' . $order_type . '</p>';
    	echo '<p><strong>' . __( 'Date:', 'uprise' ) . '</strong> ' . $delivery_datepicker . '</p>';
    	echo '<p><strong>' . __( 'Time:', 'uprise' ) . '</strong> ' . $delivery_time . '</p>';
    }

    and it works 100% of the time.

    I even have an example where your insertion does not appear in the email, but mine does, so my best guess is that the insertion does not happen always because the fields do not get saved/read properly before sending the email; it might just be a priority issue.

    Sadly I can’t offer a staging access or website access as this occured only in a production environment, but I hope that my above function helps you solve this (or anyone else that has issues with this).

    Plugin Author ThemeHigh

    (@themehigh)

    We are using ‘woocommerce_email_order_meta_fields hook’ and it is working fine in our environment. The issue might site specific due to this reason we asked you to raise a ticket through our website.

    Hello,

    I have found an issue with the latest version of WC where it does not send emails at all so considering your hook, might this be tied to your issue?

    I have added some notes on github, but basically if the order is paid via a 3rd party payment processor (so not BACS/COD) in some cases (didn’t find the reason yet) it will not send an email with the confirmation to the client (only to admin).

    Hope it helps in your debugging!

    Have a nice day!

    Plugin Author ThemeHigh

    (@themehigh)

    Thank you for letting us know.

    We have already forwarded this to our technical team. They will check the feasibility of adding a solution in the future version of our plugin.

    fix above worked for me adding to functions.php

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘delivery infos not showing in admin email, only in client email’ is closed to new replies.