Support » Plugin: DHL for WooCommerce » How to customise or replace shipper/sender address in Generate DHL Label as PDF

  • I need to change the sender address to WooCoomrce Billing Address so how can I change “Sender Address” in the Generate DHL Label as a PDF Format of the order. Does it have any template used to generate PDF or any class which needs to customize or any hook available for it?

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

    (@shadim)

    Yes, you can use the filter apply_filters(‘pr_shipping_dhl_label_args’, $args, $order_id ); which allows you to modify all of the variables sent to DHL.

    Thread Starter dharabt

    (@dharabt)

    Thanks, Shadi! It’s such a great help. Can you please let me know how can I remove fields like shipping phone numbers from the template? It has any template where we can remove shipping phone numbers etc.

    Plugin Author Shadi Manna

    (@shadim)

    There is a setting to not pass the phone number to DHL, you can use that. Otherwise simply “unset” the field via the filter I sent.

    Thread Starter dharabt

    (@dharabt)

    Thanks a lot for your help. One more thing can we remove shipper_address_no or shipper_address fields validation?

    Plugin Author Shadi Manna

    (@shadim)

    How will the package get sent without shipper address number?

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