How should I configure WPML and WooCommerce plugins to achieve the following goal?
If my client turns on the Polish language on the website, the prices of products are displayed in Polish currency.
However, if he turns on the English version of the site, then the same products, in their English-language versions, are displayed in dollars. In addition, for English-speaking customers, these will be completely different prices, which are not the result of converting at the current exchange rate.
An example product (PL Album) in the Polish language version will cost 222zł, and in the English version (EN Album) $113. To conduct tests with the product filter, I set these prices so that they are the largest among my products in both language versions.
Below is my current configuration. Unfortunately, the applied product filter was not working properly.
For the WooCommerce Multilingual & Multicurrency plugin settings see configuration_1.jpg screenshot. For the product (PL Album/ EN Album) price settings see configuration_2.jpg.
After opening the ”EN Album” product edition we can see that the price is 222zł, not $113 (configuration_3.jpg).
Perhaps this is the reason why the product filter on my website, regardless of the language of the website, takes into account only Polish prices. Please take a look:
With the Polish language turned on, everything seems to work fine (attached store_page_1.jpg). The price slider shows a maximum amount of 222zł.
After switching to English, the maximum amount in the price slider remains the same (222) instead of 113 (store_page_2.jpg).
After switching to English, changing filter criteria causes the filtering by Polish prices, not English ones.
As a result, the filtering is done correctly, but at Polish and not English prices (store_page_3.jpg).
It seems to me that with the current configuration, we have such a situation:
• There are two prices assigned to the "PL Album" product: PLN 222 and $113.
• There is one price assigned to the "EN Album" product: PLN 222.
If you could do the following assignment, everything would work fine:
• There is one price assigned to the "PL Album" product: PLN 222
• There is one price assigned to the "EN Album" product: $113.
Hi,
The workaround does not work correctly. When the Polish language is on, the maximum price of my products is 222zł, but in the filter, there is 230zł. After switching language switcher to English the maximum price of my products is $113, but there is only $50 in the filter. Please see the screenshot.
regards,
Grzegorz
Thank you for pointing out these further issues. I can also replicate this on a test site. The issue has been escalated to our developers and they should release a final fix fixing all issues in the future.
However, I have further escalated this to our second tier team to troubleshoot further and see if this could be resolved with an workaround or a temporary fix.
I will send you an update here as soon as we have an update from the team.
Regarding the price showing 230 instead of 222 maximum in primary language this is the default behaviour of the WooCommerce price filter to round up the maximum price and not related to WPML.
Regarding the issue that the secondary price shows a maximum of $50 , this is calculated from 222 converted to $ based on your settings in WCML settings at WooCommerce -> WooCommerce Multilingual & Multicurrency -> Multicurrency. The filter price in secondary currency is not based on the custom price and this is a known issue.
The issue has been escalated to our developer and we will release a fix in the future. However it could take some time and I am sorry to say that there is no workaround available in the mean time due to the complexity of the issue.
I will send you an update here as soon as we have an update from the team.