View Categories

Flexible Shipping – Currency support

Not sure how to set up shipping? Let us help!

Learn more

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: https://wordpress.org/plugins/flexible-shipping/
  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:
Fs Shipping Method
  • 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:
Fs Shipping Rules
  • Save changes

7. Go to Translation Management dashboard:

Translation management section

8. Under the ‘Other texts’ section, front-end strings should automatically appear:

Other texts section

10. In this place, when you unfold this section. You should see untranslated strings that you can mark and translate. Additionally, you can filter these strings by certain domains – in this case flexible-shipping.

11. Go to the WPML Currency Switcher settings:

Currency switcher section

Add the following:

  • 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.

Scroll to Top