• Hi I use the dal for WooCommerce plugin. The track en trace number is not showing in the order complete email? We use a plugin for custom email template called: WooMail – WooCommerce Email Customizer (https://emailcustomizer.com).

    Is it possible to create a shortcode or tag so we can add that to the template?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shadi Manna

    (@shadim)

    There is no shortcode at the moment, we will consider adding one.

    In the meantime you can use this PHP code instead:

    PR_DHL()->get_pr_dhl_wc_order()->get_dhl_label_tracking( $order_id );

    This will return an array that includes these two meta keys:

    * ‘tracking_number’
    * ‘label_url’

    You can use the value of the ‘tracking_number’ to create a link to the DHL tracking URL ‘https://webtrack.dhlglobalmail.com/?trackingnumber=‘.

    I hope that helps.

    Thread Starter denny.goosensen

    (@dennygoosensen)

    Thankyou, can you explain how to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Track trace in email’ is closed to new replies.