page last edited on 01 October 2018
The addon DHL integrates X-Cart with DHL Express, a global shipping company providing international express mail services with a network in over 220 countries and territories across the globe.
This article assumes that the DHL addon has already been installed and activated at your store.
To start using the addon, you need to configure it. The addon configuration settings can be accessed using one of the following methods:
- In the Shipping section of your X-Cart store’s Admin area (Store setup > Shipping)
click the Add shipping method button:
and then choose the DHL shipping method in a pop-up:
- In the Installed Addons section of your X-Cart store’s Admin area (My addons > Installed addons), locate the entry for DHL addon and click the Settings link below it:
The DHL settings page looks like the following:
To use DHL XML Services you need to register on DHL.com with a Site ID and Password. Once you have registered you would need to obtain an Account number from DHL.com that provides access to the XML Services.
The DHL addon settings page consists of four subsections:
Use this section to specify the DHL Site ID and API password you gained when registered an account with DHL.
Also, here you can enable the DHL shipping method when the configuration is complete. Use the “This shipping method is” trigger to toggle the method ON/OFF.
Use this section to configure the basic DHL addon settings:
- DHL Account : Specify your DHL account number if you want to use negotiated rates only. Otherwise, leave this field blank.
- Discover new methods : Toggle the option on if you need the new shipping methods to be discoered automatically.
- Test mode : Toggle the test mode on if you want to check the DHL shipping processing before making it live.
- Enable debugging : This option enables logging of requests to the DHL server and responses from it. The logs are saved to DHL.log files in the
- API endpoint (production) : The field value is preset.
- API endpoint (test) : The field value is preset.
You can add insured value to shipments if applicable:
Special services may imply extra fees. Please consult DHL before using this option.
These are the options that will be applied to both domestic and international shipments:
- Dimension unit : Select the dimension unit applicable.
- Weight unit : Select the weight unit applicable.
- Package box type : Select the type of packaging that will be used for shipments.
- Package dimensions : Use these fields to define the default package size for DHL shipments (Length, Width, Height).
- Maximum package weight : Specify the top limit of package’s weight.
Submit your settings to make them active.
When the basic addon settings are configured proceed to the Carrier services tab of the settings page to choose the shipping services that will be available to your customers.
You can enable/disable the services and drag-n-drop them to change the order of appearance.
Save the changes when you are done.
The Test rates tab of the settings page allows to test the DHL shipping configuration and check the accuracy of the rates calculation.
That’s it! The DHL shipping is configured and enabled. Now your customers can choose DHL shipping at checkout.
Once the addon has been configured, DHL shipping is added to the list of shipping methods (Store setup -> Shipping):
Here you can quickly enable/disable the DHL shipping method and change its order of appearance for customers as described in Carrier-calculated Shipping Rates.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.