Overview of the issue
When using different shipping fees for different countries and switching the language before the checkout, it’s possible that the shipping fee is wrongfully calculated based on the currency associated with the language switched to.
Steps to reproduce:
User has defined 3 shipping fees:
- free for Denmark
- 50 DKK for Scandinavian countries + Germany and UK
- 100 DKK rest of the world
- Go to the website
- Change language to English
- Add a product to chart
- Proceed to checkout
- Choose a country from the list, for example Brasil the shipping fee changes to 100 Euro.
The problem is that the 100 Euro should be recalculated to the value of 100 DKK wich is about 14 Euro
This is fixed in WooCommerce Multilingual 3.5.2-beta2