DHL offers integrated international services and tailored, customer-focused solutions for managing and transporting letters, goods, and information.
On the Admin sidebar, go to Stores > Settings > Configuration.
In the left panel, expand Sales and choose Delivery Methods.
Expand the DHL section.
If necessary, first clear the Use system value checkbox to change the following settings as described.
Set Enabled for Checkout to
Usually, you can accept the default Gateway URL.
If DHL has given you an alternate URL, enter that value in this field.
Use the credentials provided by DHL to complete the following fields:
In the Content Type list, select the option that best describes the type of package you ship:
Configure the handling fee options according to your requirements.
The handling fee is optional, and appears as an extra charge that is added to the DHL shipping cost. If you want to include a handling fee, do the following:
For Calculate Handling Fee, select the method you want to use to calculate handling fees:
For Handling Applied, select how you want the handling fees applied:
For Handling Fee, enter the amount to be charged, based on the method you have chosen to calculate the amount.
For example, if the charge is based on a fixed fee, enter the amount as a decimal, such as
4.90. However, if the handling fee is based on a percentage of the order, enter the amount as a percentage. For example, if you are charging six percent of the order, enter the value as
To allow the total order weight to be broken up to ensure an accurate calculation of shipping charges, set Divide Order Weight to
Set the Weight Unit of the package to one of the following:
Set the Size of a typical package to one of the following:
If you choose
Specific, enter the Height, Depth, and Width of the package in centimeters.
For Allowed Methods, choose each method that you want to be available to customers.
To select multiple methods, hold down the Ctrl key (PC) or the Command key (Mac) and click each option.
To display the correct list of delivery methods, you must first specify the Country of Origin.
For Ready Time, enter the number of hours after an order is submitted that a package is ready to ship.
Edit the Displayed Error Message as needed.
This message appears when a selected method is unavailable.
If you want to provide a Free Shipping option through DHL, set the free shipping options.
For Free Method, choose the method you prefer to use for free shipping.
Set Free Shipping Amount Threshold:
Enable - If offering Free Shipping with Minimum Order, enter the Minimum Order Amount for Free Shipping.
Disable - Does not apply free DHL shipping to any orders.
This setting is similar to the one for the standard Free Shipping method, but appears in the DHL section so customers know which method is used for their order.
For Free Shipping Amount Threshold, enter the minimum amount for an order to qualify for free shipping.
Set Ship to Applicable Countries to one of the following:
All Allowed Countries
If shipping to specific countries, select each country from the Ship to Specific Countries list.
Set Show Method if Not Applicable:
Yes - Shows DHL as a shipping method during checkout, even if not applicable to the order.
No - Shows DHL as a shipping method during checkout only if applicable.
To create a log file with the details of DHL shipments made from your store, set Debug to
For Sort Order, enter a number to determine the sequence in which DHL appears when listed with other delivery methods during checkout.
0 = first,
1 = second,
2 = third, and so on.
Click Save Config.