Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where the currency switcher on their WooCommerce product pages is displaying 'USD' twice.
Solution:
We recommend the following steps to identify and resolve the issue:
1. Create a full backup of your website.
2. Deactivate all plugins except for WPML and its add-ons.
3. Check if the issue persists.
4. If the issue is resolved, reactivate your plugins one by one to identify the problematic plugin.
5. If the issue still occurs with only WPML plugins active, switch to a default WordPress theme like TwentySeventeen and check again.
We suggest performing these steps in a staging environment if possible.

If these steps do not resolve the issue or if the solution provided here becomes 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 the problem persists, please open a new support ticket.

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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Mihai Apetrei 1 year, 7 months ago.

Assisted by: Mihai Apetrei.

Author Posts
August 20, 2024 at 12:09 pm #16086988

Simon Wenk

Background of the issue:
I am trying to remove one USD item in the currency switcher in the WooCommerce Multilingual Settings. Affected are all product pages. Here is the link to a page where the issue can be seen: hidden link

Symptoms:
The currency switcher shows 2x USD.

Questions:
How can I remove one of the USD items in the currency switcher?
Why is the currency switcher showing 2x USD?

August 20, 2024 at 7:10 pm #16088131

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

This issue looks to me like it could be caused by a possible compatibility issue between WPML and (at least) one of the active plugins or the currently active theme.

Can you please let me know if it still happens even when only the WPML plugins are active and you are using a default WordPress theme?

Please try the following steps so that we can test for a compatibility-related issue:

- create a full website backup

- disable all plugins except WPML and its add-ons

- check if the issue is happening again

- if it's not, reactivate your plugins one by one, checking every time if the issue shows up again so that you can understand which plugin is causing that issue

If the issue happens even with the non-WPML plugins disabled:
- leave all the non-WPML plugins deactivated

- switch to a default theme like TwentySeventeen

- try to recreate the issue now

If you have the chance, it would be best to do this in a staging (testing) environment.

Please let me know how that goes and if following any of these steps solved your issue or brought any change.

I will be waiting for your response.

Mihai Apetrei

August 21, 2024 at 1:27 pm #16090694

Simon Wenk

A custom CSS is added to resolve the issue

.wcml-horizontal-list.product.wcml_currency_switcher ul li:nth-child(3) a[rel=USD] {
display: none;
}