Skip Navigation

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

Problem:
Multicurrency | secondary currency price amounts are not shown on order-receive (or thank you) page after checkout.

Solution:
In WooCommerce -> WooCommerce Multilingual & Multicurrency -> Multicurrency -> the "Number of Decimals" should be set properly to a number, like 0 (zero) if you don't want to show any number of decimals. Leaving it empty causes the said problem.

Relevant Documentation:

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.

This topic contains 8 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 6 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 30, 2023 at 4:02 pm #14123111

mayaB-3

hidden link

secondary currency price ammounts does not shown in order-received-page & order-received-email

Multicurrency Settings:
hidden link

Default Currency:
hidden link

Secondary Currency:
hidden link

July 31, 2023 at 12:36 pm #14127287

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

I was able to understand the problem by watching the videos and it looks strange. However, before moving forward may I ask you to try the followings please?

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

A) Fix “WP Memory Limit” to at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set this in your wp-config.php file by adding following code:

define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Remember to add these lines before the line where it says:
/* That's all, stop editing! Happy publishing. */

And recheck for the issue.

B) If it still doesn't work, try followings:

- Deactivate all plugins except WPML, WooCommerce and their addons and check for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any.
- If the problem persists, repeat the above steps with a default theme of WordPress (i.e. 2021 or 2023).

Please let me know how it goes and I'll try my best to further assist you on the matter.

Regards.

July 31, 2023 at 2:20 pm #14128205

mayaB-3

Hi,
All the above does not resolve the issue:
hidden link

August 1, 2023 at 6:31 am #14130511

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for trying those suggestions.

May I ask for admin access to your website to check the issue in detail? You can create a separate admin user for this purpose, which can be deleted afterwards.

Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend.

Remember to take full backup of your website and database before proceeding. However, a staging/test site is highly recommended, because I may need to try some changes/fixes on the site (including plugins & themes deactivation), which may cause conflicts with the live site otherwise.

Please confirm it in your next reply or let me know if you do not agree with the mentioned.

I've set your next reply as private to share this information safely.

IMPORTANT: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

August 1, 2023 at 11:18 am #14133103

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the access, I am working on it and 'll get back to you accordingly.

P.S.: Do not share sensitive information in public message. I've made your recent message private for safety.

August 2, 2023 at 7:59 am #14139701

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I was able to reproduce the issue in your staging site, as well as, in a fresh installation separately.

The issue has been escalated to the 2nd tier for detailed investigation. I'll update you accordingly.

P.S.: I downgraded WPML on your site from beta to latest stable version for testing. I also deactivated all un-necessary plugins and switch the theme to default. Please remember to revert your plugins and theme accordingly.

August 2, 2023 at 12:03 pm #14142035

mayaB-3

Thank you! Looking forward to the update.

August 3, 2023 at 3:53 pm #14150829

mayaB-3

Hi,
Is there any feedback from 2nd tier?

August 4, 2023 at 5:29 am #14152667

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

The issue has been resolved. In fact, it was due to a misconfiguration as our team finds out.

In WooCommerce -> WooCommerce Multilingual & Multicurrency -> Multicurrency -> the "Number of Decimals" for USD were needed to be set properly to a number, like 0 (zero) if you don't want to show any number of decimals. While it was set to empty.

I've just tested this in my sandbox site and on your test site as well. And all seems to work fine now (see attached).

Please check and confirm.

Screenshot 2023-08-04 102502.jpg
image4.png
August 4, 2023 at 2:29 pm #14155459

mayaB-3

Waqas, thank you!