[Resolved] When I change the currency, the symbol does not change.
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're using WooCommerce Multilingual with WPML and notice that when you change the currency on a product page, the price updates but the currency symbol remains as the Euro symbol, this might be due to custom code interfering with the currency symbol display. Solution: We recommend checking any custom code snippets that might be overriding the currency symbol. Specifically, ensure that your code uses the
$currency
value provided by WooCommerce/WPML in the woocommerce_currency_symbol or wc_price_args filters. This adjustment will help ensure that the currency symbol matches the selected currency.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please visit our known issues page and verify that you have the latest versions of themes and plugins installed. If the problem persists, we highly recommend opening a new support ticket with us for further assistance.
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.
Background of the issue:
I am using WooCommerce Multilingual with WPML on my site hidden link. I want to change the currency on a product page, and it works correctly initially.
Symptoms:
When I change the currency, the price is displayed in the new currency, but the symbol remains the Euro symbol, regardless of the selected currency, after navigating away and returning to the shop or product page.
While one of my teammates takes care of your ticket, I will provide you with the first debugging steps.
Please update your WPML plugin and add-ons to the latest version, 4.8, to benefit from the latest bug fixes and improvements. This may not necessarily resolve your problem; however, we need to work on the newest code available to troubleshoot the issue best.
You can check the latest released versions under "My Account -> Downloads" on this site.
If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.
Please remember to backup your database before you proceed.
Let us know if the issue persists after an update has been done.
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Madrid (GMT+01:00)
Ok I was able to reproduce now the problem.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
**IMPORTANT**
- Please make a backup of the site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.
The private box looks like this: hidden link
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Madrid (GMT+01:00)
Hi there!
I was not able to reproduce the problem, it is working as expected in the test site.
The difference is that you are adding currency as parameter and that it is not working properly, so when changing page ?currency=EUR is not passing correctly.