Articles in this section

WooCommerce: Rates at Checkout

Set up live rates at checkout for WooCommerce by installing the DHL Express Commerce plugin and display your DHL Express shipping rates to your customers automatically.

About live rates at checkout

The destination address and the total weight of the cart are used to electronically return your DHL Express shipping rate. 

Your customer can select the preferred shipping method and the order will be imported with this shipping method.

Plugin Disclaimer

While every effort has been made to ensure the accompanying plugin is as compatible as possible, many factors such as site customizations or conflicts with other third party plugins may result in the DHL plugin to behave unexpectedly or not function.

DHL offers no warranty or guarantee that plugins will operate for your specific site.

Before you begin

  • Configure rates at checkout in DHL Express Commerce.
  • Enable DHL products to be shown at checkout under Settings > Checkout Rates in DHL Express Commerce. If you add new products, toggle Delivery Options off and on again to refresh the available products with your store. 

1. Set the Rates at Checkout Unit of Measure

To correctly calculate the shipping price, the unit of measure set in WooCommerce needs to be defined in DHL Express Commerce. 

  1. Make note of the weight unit of measure set in WooCommerce - Kilogram / Gram / Pound
  2. In DHL Express Commerce, navigate to Settings > Options > Rates at Checkout Weight Unit
  3. Set the correct weight unit noted from Step 1.
  4. Click Save.

2. Install the DHL Express Commerce plugin

Before you begin, download the WooCommerce plugin found at the bottom of this article.

  1. Go to your WooCommerce dashboard, select Plugins, then select Add New.
  2. Click Upload Plugin as .zip file.
  3. Click Choose file, and upload the extension file from your computer. Make sure you activate the plugin.
  4. Click Install Now.

3. Generate your API key

  1. Log in to DHL Express Commerce account, go to Settings, then select API.
  2. If the API Key field is blank, click Regenerate, then click Save.
  3. Copy the API key. You will need to enter this in WooCommerce.

 

4. Add your API key in WooCommerce

  1. Go to your WooCommerce dashboard, select WooCommerce, then select Settings.
  2. Select the Shipping tab, then select DHL Express Shipping Rates.
  3. Paste the API key, and select Enable rates at checkout.
  4. Click Save changes.

Your DHL Express rate should now display in your WooCommerce checkout.

Troubleshooting

Rates are showing higher than expected

In your DEC profile some configuration may be required to correctly identify the weights supplied by WooCommerce in their API. Please follow the below steps:

  1. Go to Settings, then select Options.
  2. Select Rates at Checkout Weight Unit.
  3. Set this setting value to Grams (g).
  4. Click Save.
  5. Retest the rates at checkout and validate if the rates are now correct.

What's Next?

To change the display name or remove services, go to DHL Express Commerce > Settings > Checkout Rates.

Was this article helpful?
8 out of 13 found this helpful