Installation and setup
Requirements
Section titled “Requirements”- CS-Cart or Multi-Vendor 4.17.2 or later.
- A DHL Express customer account (account number) with MyDHL API access. On developer.dhl.com sign in, open “DHL Express - MyDHL API” and request access; DHL Express sends you an API user name and password for the test environment and, after your tests, for production.
- A cron job on your server (step 7).
Install the add-on
Section titled “Install the add-on”- Download the
kv_dhl_express-<version>.zippackage from your Kavio Labs or CS-Cart Marketplace account. - In the admin panel, open Add-ons > Manage add-ons, click the gear button, choose Manual installation and upload the archive.
- Make sure DHL Express (MyDHL API): Rates, Labels, Customs & Pickups is Active.
- Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
Connect DHL Express
Section titled “Connect DHL Express”- Open Orders > DHL Express shipments and the Connection tab.
- Choose Test mode, enter the MyDHL API user name and password of the test environment and your DHL Express account number.
- Check the Ship-from address: empty fields use your company address (shown in grey). Phone, contact name, street, city and country are needed for labels. Add your VAT and EORI numbers for international shipments.
- Click Save and test: “Connected (test)” means the credentials work and DHL picks up at the ship-from address.
- After a test label, switch to Live with the production credentials and test again.
- Open Administration > Shipping & taxes > Shipping methods, add a method, choose the carrier DHL Express and a product (or “best available”), and set the handling fee on the Configure tab.
- Add the cron job shown in the add-on settings (Cron); every 5 to 15 minutes is fine.
Replacing the core DHL module
Section titled “Replacing the core DHL module”Disable the shipping methods that use the core “DHL” carrier (they no longer get rates) and create new ones with the carrier DHL Express of this add-on. The core methods are not changed or removed by the add-on.
Multi-Vendor
Section titled “Multi-Vendor”By default the marketplace owner connects one account for all vendors (Marketplace owner mode on); vendors see labels and tracking of their orders but cannot buy labels. Switch it off to let each vendor connect their own DHL Express account in the vendor panel.
Update
Section titled “Update”Upload the new package the same way. Settings, credentials and shipments are kept; missing tables and settings are added on the next admin page view. See CHANGELOG.
Uninstall
Section titled “Uninstall”Add-ons > Manage add-ons, gear button, Uninstall. This removes the settings, the DHL Express shipping methods, the stored credentials and the shipment records. CS-Cart shipments with DHL waybill numbers stay on the orders.