Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 9 replies, has 2 voices.

Last updated by Kor 1 year ago.

Assisted by: Kor.

Author Posts
December 13, 2023 at 3:54 pm #15057115

olgar-4

Hi, I have problem with woocommerce multicurrency. I have default currency CZK with zero decimal places. However, my second currency is EUR. Exchange rate is 1 EUR = cca 24 CZK. In CZK, decimal places are zero, because the value is insignificant. But in EUR, if I have for example product cost 11 CZK, which is cca 0,45 EUR, the price is rounded to zero. So customer has the product for free.

December 14, 2023 at 6:50 pm #15068185

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Please allow me to escalate this to our 2nd Tier Support for further assistance. I will come back to you once I have feedback.

December 15, 2023 at 9:36 am #15070737

olgar-4

Thanks. Please let me know as soon as possible.

December 15, 2023 at 4:35 pm #15075289

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I've played around with the sandbox site and it shows up correctly when I checkout some products hidden link . Is there a specific step to replicate the issue?

December 15, 2023 at 4:36 pm #15075291

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Please ignore my previous message. I will come back to you once I've feedback.

December 21, 2023 at 3:15 pm #15111673

olgar-4

Are there any news? Thanks.

December 21, 2023 at 3:26 pm #15111791

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I apologize, but as of now, I have not yet received any feedback. However, I have already forwarded the report to our 2nd Tier Support team.

January 2, 2024 at 8:23 am #15142208

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I have feedback from our 2nd Tier Support and this is what he mentioned.

The issue happens due to High-performance order storage (HPOS) turned on in WC > Settings > Advanced > features.

Also, note number of decimals is set to 0 for Czech koruna which is rounding the price to the absolute number. (As shown in the attached screenshot)

Technically it should consider the decimal value set in WCML multicurrency but due to HPOS it is taking the setting of the primary currency.

Workaround

Set the decimal number to a non-zero value in WC > Settings > General.

OR

Enable WordPress posts storage (legacy) mode in WC > Settings > Advanced > features

Please let me know how it goes.

image.png
January 4, 2024 at 5:13 pm #15152566

olgar-4

Hi,
thanks for the workaround. This can work for a moment until you solve it, but turning HPOS off is not a way.

Please provide permanent solution working with HPOS.

Thanks.

January 4, 2024 at 6:22 pm #15152712

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Our developers are checking on this and I will come back to you once I've feedback.