Support » Plugin: DHL for WooCommerce » Show Parcelshop on Completed Order

  • Hello,
    We have the following problem: The plugin only shows the Parcelshop on On Hold orders, or on new orders(the admin e-mail).
    I saw this in class DHLPWC_Controller_Mail
    on line 24 / 25:

    public function add_service_point_to_customer_details_order_email($order, $sent_to_admin, $plain_text, $email)
        {
            $allowed_email_ids = array(
                'new_order',
                'customer_on_hold_order'
            );

    Is it possible to add completed order to this list? Can we do this ourselves or does this has to happen with a plugin update?

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shin Ho

    (@shindhl)

    Hello thetankgirl,

    Thanks for using the DHL for WooCommerce plugin.

    The issue you’ve described has been forwarded internally. I assume it should not be a problem to add to the next update, so you can safely update it on your side before we have it updated in the plugin (since updates to overwrite any changes to make in the current code). I will update this ticket when it’s officially live as well.

    Greetings,
    Shin
    Plugin Development Team
    DHL Parcel Netherlands

    Thread Starter thetankgirl

    (@thetankgirl)

    Hello Shin,
    Thank you for your quick answer. I’ve put the code in the file for now, and will await the next update 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.