Back to Top

Magento 2 Multi Vendor DHL Shipping

Updated 11 March 2024

Magento 2 Marketplace DHL Shipping provides a DHL Shipping service for shipping products worldwide. This shipping method is the most trusted shipping method in terms of cost and product delivery and now it is available with the Webkul Magento 2 Marketplace.

Please Note – This is an add-on to the Magento 2 Marketplace Module. To use this module, you must have installed Magento 2 Multi Vendor Module.

Watch the video tutorial below to understand the extension workflow:



  • Admin can enable or disable the Marketplace DHL Shipping method.
  • Admin can set the Marketplace DHL shipping title name that is shown at the front end.
  • The admin can display the custom logo on DHL shipping Label.
  • Admin can allow sellers to save his/her DHL Credentials.
  • Admin can allow sellers to display the company logo on DHL shipping Labels.
  • DHL shipping rate will be calculated from the seller’s address.
  • The seller can download & print the DHL Shipping label.
  • The seller can add the address, VAT, and TAX information on the Invoice & Packing Slip.
  • The dynamic shipping method for freight calculation.
  • Ability to download Invoices and Shipping Slips easily.
  • The seller can download DHL Shipment Label in PDF format.


Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento 2 root directory on the server as shown below.

Installation Of Magento2 Marketplace DHL Shipping

After the successful installation, you have to run these commands in the Magento 2 root directory: First command – php bin/magento setup:upgrade

Searching for an experienced
Magento 2 Company ?
Find out More
command 1

Second Command – php bin/magento setup:di:compile

command 2

Third Command – php bin/magento setup:static-content:deploy

command 3

After running the commands, you have to flush the cache from Magento admin panel by navigating through->System->Cache management as shown below.

Installation Of Magento2 Marketplace DHL Shipping

Multi-lingual Support

For the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German (the language into which the admin wants to translate his store content).

multi lingual


If a user wants to translate their module from English to German then they need to follow the path app/code/Webkul/MpDHLShipping/i18n in their unzipped folder and will get a CSV file with name “en_US.csv”. Now they will rename that CSV as “de_DE.csv” and translate all right side content after the comma in the German language.

After editing the CSV, save it and then upload it to the path app/code/Webkul/MpDHLShipping/i18n where they have installed Magento 2 on the server. The module will get translated into the German Language. It supports both RTL and LTR languages.

Magento2 Marketplace DHL Shipping Translation
Magento2 Marketplace DHL Shipping Translation

The user can edit the CSV like the image below.

Magento2 Marketplace DHL Shipping Translation


After the successful installation of Magento 2 Marketplace DHL Shipping, you will be able to see the configuration panel under Store -> Configuration -> Sales ->Delivery Methods -> Webkul Marketplace DHL Shipping. 

Now configure the Marketplace DHL shipping method.

  • Enabled for checkout: Select the Yes option to enable the marketplace DHL Shipping Method.
  • Sandbox box: Select the Yes option to enable the sandbox for testing purposes.
  • Title: Give a title for the DHL marketplace shipping method.
  • Web Service Url: Admin will provide web service URL
  • AccessID: Admin will receive APIs access ID after registering to the DHL website.
  • Password: The admin will receive an API password after registering to the DHL website.
  • Account Number: The admin will receive an account number after registering to the DHL website.
  • Content-Type: There are two options available document and non-document.



Here admin will enter the following details:


  • Calculating Handling fees: Handling fees can be calculated on a fixed rate or percentage rate.: Handling can be applied per order or Per package.
    Per Order allows a single handling fee for the entire order. “Per Package” allows an individual handling fee for each package.
  • Handling Fee: Enter handling fee charges.
  • Divide order weight: Select Yes to allow DHL to optimize shipping charges by splitting the order if it exceeds 70 kg.
  • Weight Unit: choose units to measure the weight either in Pounds or Kilograms
  • Size: The admin can provide a specific size for the product.
  • Allowed Methods: The admin can choose the various methods that can be applied to this shipping method.
  • Ready time: Package ready time after order submission (in hours).
  • Display Custom Logo on DHL Label: Select the Yes option to display a custom logo on the DHL label.
  • Allow Sellers to Save DHL Details: Choose the yes option to allow the seller to save DHL details.
  • Allow Sellers to Display Company Logo on DHL Label: Select the yes option to allow sellers to display the company logo on the DHL label.
  • Displayed Error Message: Displays the error message when the shipping method is unavailable.
  • Enable Free Shipping Threshold: Select yes to enable the free shipping threshold.


  • Free Method: admin can select the shipping methods for free shipping.
  • Free Shipping Amount Threshold: Enter the free shipping amount threshold. For eg, the admin enters 100 as a free shipping threshold amount and the amount add to the cart is greater than or equal to 100 then for that order shipping charges will be free.
  • Ship to Applicable Countries: Admin can allow all the countries to apply this shipping method.
  • Ship to Specific Countries: Admin can select multiple countries to apply this shipping method.
  • Show Method if Not Applicable: Select yes to show if it is applicable else choose no.
  • Lastly, save the configuration by clicking the save button.

AccessID, Password, and AccountNumber. Admin will also select the various Allowed method for this shipping method.

Note: For receiving AccessID, Password and AccountNumber, you have to send an email to DHL ([email protected]) that you want to implement DHL API in your Module. For proper working of Magento 2 Marketplace DHL Shipping, you need to set DHL origin address and store information. For DHL origin address, please follow this path Stores> Configuration > Sales > Shipping Settings > Origin. Here the admin can enter the origin address for DHL shipping.


For store information, please follow this path Store> Configuration>General>Store Information. Here the admin can fill in-store information as shown below.

store information

Seller Front End Management

If Magento 2 marketplace DHL Shipping is enabled by the admin, then the seller can set the Invoice & Shipping address, VAT, TAX information under Marketplace >Manage Print Pdf Header Info.


Marketplace DHL Configuration Each seller needs to save their DHL shipping account configuration by going to My Account>Marketplace>Manage DHL Shipping. After saving the DHL shipping information, the sellers will be able to pay for the DHL shipments by themselves.

Please Note – If a seller doesn’t save its DHL shipping details and generates the DHL shipment, the admin will pay for the shipping label.


Origin Address

The seller needs to add their Shipping origin Address before shipping the product to the customer by going to My Account>Marketplace>Shipping Setting.


Customer Front-End

When the Buyer will place an order for the seller’s product, the buyer can see Magento 2 Marketplace DHL Shipping under shipping methods like this screenshot.


Free Shipping Amount Threshold: If the admin enters 100 as the free shipping threshold amount and the amount added to the cart is equal to 100 then the shipping charges will be free as shown in the screenshot below

Buyers can see the selected shipping method under Order Review.


Note: In Magento 2 Marketplace DHL Shipping, the shipping rate will be calculated according to the seller’s product weight and the seller’s origin address.

Seller DHL Shipping Management

When the order is placed, the seller can see the order under “My Order History” as per the image below.


If the admin sets the “Allow Seller to Manage Order” option “yes” then the seller can manage the orders from the front end. Hence, now the seller can generate invoices for their ordered products, and generate a tracking number and shipment for the orders of their products.

Even the seller can notify the customers by sending them emails, canceling/refunding the order and even printing the order. After clicking on the “View Order” you can see the order details


Once the seller generates the shipment and invoice, the seller will able to see complete order details.


Shipment information :


The seller can click on Print DHL Label and then the label will get downloaded.


The seller can download the Shipping and Invoice slip very easily. In this slip, you can also see the company logo and address, vat, tax information which enter by the seller under Manage Print PDF Header Info. Packing Slip:


Invoice Slip:



Thank you for viewing this post, in case you need more information please send us an email to [email protected]. You may also browse other Magento 2 marketplace addons and our quality Magento 2 extensions.

Current Product Version - 5.0.3-p1

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


  • Dave
    • gunjita joshi (Moderator)
  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content