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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 13 replies, has 2 voices.

Last updated by johannesB-16 1 day, 19 hours ago.

Assisted by: Christopher Amirian.

Author Posts
November 8, 2024 at 7:49 am #16380819

johannesB-16

Hi,
correct, the currency is changing with the language.
But there is something wrong with the USD currceny. It keeps the amount from EUR so there is now conversion applied.
If I change from EUR to CHF, conversion rate is applied.

wpml_usd.png
November 8, 2024 at 9:28 am #16381250

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

That seems to be not related to the original issue that the ticket is opened for.

Would you please test if you deactivate the B2B plugin and also remove the code from functions.php of the theme the same problem happens?

Thanks.

November 8, 2024 at 10:40 am #16381632

johannesB-16

Hi,

I've deactivated the B2B-Market and removed the snippet. The issue does not occur anymore.

However, when the plugin is activated and the snippet is included, the issue does also not occur when I switch to the Twenty Twenty-Four Theme.
Therefore I've contacted the ASTRA development team.
I'll keep you updated if they have any suggestions.

November 10, 2024 at 8:16 am #16385190

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Ok, thank you for informing us.

November 18, 2024 at 10:25 am #16414074

johannesB-16

Hi,

I have looked into the problem with the ASTRA developers. We discovered that the problem also occurs with the Twenty Twenty-One theme.
This means that it is not necessarily related to the ASTRA theme.

The problem currently behaves as follows:

The currency conversion works with the Twenty Twenty-four theme, but not with the Twenty Twenty-one theme and ASTRA theme.
The problem with these two themes is that the currency conversion works between EUR and CHF, but not between EUR and USD.
This means that the amount does not change between EUR and USD.

Can you make sense of this?

Kind regards.

November 19, 2024 at 8:39 am #16418016

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for the info. As we were in contact with the B2B Markets dev team they have mentioned that they will release a version that would fix the issue and you will not need to add any code to functions.php

Let's wait for their release as that would be the best solution rather than our temporary workaround.

Please update B2B Markets after the release and test.

Thanks.

November 19, 2024 at 4:08 pm #16420723

johannesB-16

Hi,

I just updated B2B Market and removed the code snippet from the workaround.
And it's working like before - currency is not switching back (which is good) but the USD currency is still displaying the EUR amount. CHF conversion is working.

November 21, 2024 at 2:20 pm #16429557

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Sorry for my late reply. I do appreciate your patience with the issue as it seems this is something that needs to be checked with the developers of the plugin again.

I know it will be hard, but I'd appreciate it if you could once more install the B2B Market on the installation below (please use the latest version) and replicate the issue there and get back to us with the steps to see the issue so I can report this to the compatibility team:

hidden link

Thanks.

November 22, 2024 at 2:20 pm #16434201

johannesB-16

Hi,
I have installed Astra theme and the B2B Market plugin. I have also tried to set up everything like it's on my staging site. But unfortunately I can't replicate the issue on your sandbox. I will take another look into the installation on monday.

Have a nice weekend!

Kind regards