Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues with WooCommerce Multilingual & Multicurrency where the CAD price displays correctly, but the EUR price does not reflect the custom price set by the client. Instead, it shows a converted rate or incorrect values when using currency switchers.
Solution:
First, we recommend deactivating the WooPayments plugin as it is not compatible with our products and may cause conflicts. You can do this by following the instructions on https://woocommerce.com/document/woopayments/currencies/multi-currency-setup/.
Next, increase the PHP memory limit to ensure our plugins function correctly. Add the following code to your

wp-config.php

file, above the 'That's all, stop editing! Happy blogging.' line:

/** Memory Limit */<br />define('WP_MEMORY_LIMIT', '512M');<br />define('WP_MAX_MEMORY_LIMIT', '512M');

Finally, configure the custom EUR price by following the steps under 'Configuring Custom Prices for Different Currencies' at https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/.

If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Our next available supporter will start replying to tickets in about 5.54 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 2 months ago.

Assisted by: Christopher Amirian.

Author Posts
September 14, 2024 at 5:15 pm #16178898

Catherine

Background of the issue:
I have installed and activated WooCommerce Multilingual & Multicurrency and used these 2 pages to complete the configuration: https://woocommerce.com/document/woopayments/currencies/multi-currency-setup/ and https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/?utm_source=plugin&utm_medium=gui&utm_campaign=wcml#configure-distinct-prices-for-different-currencies. I'm trying to have the correct price shown in CAD mode, and the custom EUR price shown in the EUR mode.

Symptoms:
When using the switcher available in the widgets, the CAD price shows correctly (100$), but the EUR price is calculated from the exchange rate (67 E) instead of the custom price (30 E). When using the WPML switcher, the CAD price shows correctly (100$), but the EUR price is incorrect, showing $46, which is neither a correct price nor an EUR display. The $ sign is also placed before the price, which is incorrect for French CAD spelling. Using both switchers together does not resolve the issue, showing more price issues.

Questions:
How can I configure the currency switchers to show the custom EUR price instead of the converted one? It should overite it be default.
Why is the WPML switcher showing an incorrect EUR price and placing the $ sign before the amount?

September 15, 2024 at 2:11 pm #16180167

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The first point is that you need to deactivate whatever you have done here:

https://woocommerce.com/document/woopayments/currencies/multi-currency-setup/

That is not part of our product and we do not support that and it might create conflicts with our system.

So please deactivate "WooPayments" plugin.

The second point is the PHP memory limit that needs to be fixed before our plugins can work properly:

The minimum requirement is 128M but I suggest that you increase it to 512M: https://wpml.org/home/minimum-requirements/

You can add this by adding the code below to "wp-config.php" file of your WordPress installation root folder:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '512M');
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Please add the code above the line below:

/* That's all, stop editing! Happy blogging. */

After that, please go to the second link you shared:

https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/

Scroll down to the section called "Configuring Custom Prices for Different Currencies" and follow the instructions there.

Thank you.

September 17, 2024 at 1:38 pm #16188792

Catherine

It worked, thanks! 😀