Currency support

Flexible Shipping supports calculating the shipping costs and the Currency exchange in combination with the following currency switcher plugins:

Support for other currency switcher plugins

For advanced users only. If you do not perform this operation with care, you may even damage your WordPress installation.

It is possible to use a filter flexible_shipping_value_in_currency in currency converting that use Flexible Shipping.

Example for WPML plugin:

if ( isset( $woocommerce_wpml ) ) { add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_wpml' ), 1 ); } public function flexible_shipping_value_in_currency_wpml( $value ) { return apply_filters( 'wcml_raw_price_amount', $value ); }

How to use Flexible Shipping PRO with WPML plugin?

You will need to have WPML WooCommerce Multilingual enabled in order to successfully follow these steps.

  1. Install the Flexible Shipping from the repository:
  2. Go to the plugin’s settings: wp-admin/admin.php?page=wc-settings&tab=shipping&section=flexible_shipping_info
  3. Choose Shipping Zones: wp-admin/admin.php?page=wc-settings&tab=shipping&section=
  4. Add a new shipping zones, e.g. Germany
  5. Add a shipping method: Flexible Shipping
  6. Edit this method: currency, e.g:
  • Change the name of this shipping method: Flexible shipping – WPML compatible
  • Add the Method Description: WPML
  • Add Free shipping: 100
  • Check the checkbox Left to free shipping’ notice
  • Add a rule in the table, e.g. Always – 10:
  • Save changes

7. Go to String Translation: wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php

8. Choose the strings from the plugin flexible-shipping

9. You will see all strings from the plugin like:

Shipping method name, Shipping method description, Free Shipping Label. To translate categories you have to add the categories in every language so it takes effect.

10. Translate them.

11. Go to the WPML Currency Switcher settings: wp-admin/admin.php?page=wpml-wcml&tab=multi-currency and the currency, e.g:

  • Pound Sterling as the main currency,
  • Euro as an additional currency,
  • 1 Pound Sterling = 1,16 Euro.

12. Go to the Cart page and check the translated strings and calculated currencies from Pound sterling to Euro.

13. You can also translate the strings of the plugin’s setting when you download them fully on the String Translation page.

Scroll to Top