news icon

The ELEX DHL Shipping plugin now supports our Aelia Currency Switcher

DHL Shipping and Currency Switcher, now working together

Updated December 2019

This article was originally published in December 2017. The XAdapter DHL Shipping plugin is now called ELEX DHL Shipping, and it’s developed and maintained by ELEXtensions.

In the past weeks, we have been working with the team at ELEX to add support for our WooCommerce Currency Switcher to their DHL Shipping plugin. The target was to make their shipping plugin more flexible, and to make it possible to interact with the shipping calculation process, to ensure the correct calculation of prices in all currencies.

We are happy to inform you that the integration is now complete. Starting from version 3.4.3, the DHL Shipping plugin includes the filters and actions we added in a modified version to make multi-currency support possible. Thanks to this filter, it’s now possible to interact with the shipping plugin and ensure accurate shipping costs. Sounds great? Good! Keep reading to learn how to implement the solution on your site!

Getting started

Adding multi-currency support to the DHL shipping on your site is a matter of performing three simple steps:

  1. Update the ELEX DHL Shipping plugin. Make sure that you are running version 3.4.3 or later.
  2. Add a simple filter to your theme’s functions.php file, as described in ELEX’s knowledge base:  WooCommerce DHL Express/Paket Shipping Plugin – How to use the DHL shipping plugin with the Currency Switcher plugin. The filter is what allows the DHL plugin and our Currency Switcher to work together, to ensure the accuracy of the shipping calculations.
  3. Alter the filter you just added, replacing the currency in it with the code of your shop’s base currency. For example, if your base currency is EUR, simply replace the “ZAR” from the example with “EUR”.

You’re now ready to go! The custom filter you just added will tell the DHL Shipping plugin to fetch the shipping costs in your shop’s base currency, and our Currency Switcher will take care of converting them to the correct active currency on the cart page and at checkout.

Should you have any questions about using the DHL Shipping with our Currency Switcher, please contact the ELEX Support Team. They will be happy to assist you in configuring their shipping plugin on your site.

Thanks for reading, and have a wonderful day!

The Aelia Team

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.