Skip Navigation

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

Problem:
You want users in WooCommerce checkout to be able to change currency with a widget, and the checkout amount should be recalculated instead of being zeroed out. However, currently, when users change the currency, the checkout amount is zeroed out.
Solution:
We recommend adding the currency switcher to the cart page using a shortcode. You can find the necessary steps and details in our official guide here: Multi-Currency Support in WooCommerce.
If you have already tried this and the issue persists, please add the currency switcher to the cart page again so we can reproduce the problem. Also, ensure you have created a full site backup before making any changes, so you can restore the site if necessary.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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 the problem persists, please open a new support ticket with us for further assistance 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.

This topic contains 3 replies, has 0 voices.

Last updated by Carlos Rojas 2 weeks, 6 days ago.

Assisted by: Carlos Rojas.

Author Posts
April 2, 2025 at 11:07 pm #16889357

ryank-21

Background of the issue:
I want users in WooCommerce checkout to be able to change currency with a widget and the checkout amount be recalculated rather than zeroed out. The site I need help with is hidden link.

Symptoms:
The checkout amount is zeroed out when users change currency.

Questions:
How can I enable currency change in WooCommerce checkout without zeroing out the amount?

April 4, 2025 at 10:55 am #16897053

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

To add the currency switcher to the cart page you need to use a shortcode as described in this section of our official guide: https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#currency-switcher-shortcode

Regards,
Carlos

April 4, 2025 at 11:08 am #16897113

ryank-21

Yes i have tried that and it adds it. But if i have $125 item in checkout and i use the switcher to change to eur then my checkout becomes empty. And i have to start over and add item from product page as eur.

How can i get it to just convert at checkout existing items

April 4, 2025 at 12:04 pm #16897311

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for your feedback.

1.- Please add the currency switcher to the cart page again so I can reproduce the problem.

2.- Share the access credentials to your next message so I can double-check the configuration.

Confirm you created a full site backup that you can use to restore the site if necessary.