Skip to content Skip to sidebar

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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 12 replies, has 3 voices.

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

Assisted by: Waqas Bin Hasan.

Author Posts
March 24, 2024 at 7:14 pm #15444373

matusV-2

Hello, I am facing a problem with the shipping price rounding. I set 1€=25 CZK and rounding is set down to 10 and minus 1.

If the shipping fee is 3,50€ included VAT I am getting 83 CZK instead of 79 CZK, if the shipping is 4,5€ I am getting 119CZK instead of 109CZK. For product prices works the rounding correctly.

March 25, 2024 at 7:48 am #15444954

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps and try to help with the issue quickly.

1) In order to expedite handling your support requests, can you please share WPML support debug information from your site.

- To give debug information, login to your site and go to WPML → Support. From there click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire content of the text box and copy it.
- Now go back to our support forum, find debug information box and paste it.

More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/

2) Can you please check if you have tax enabled, so maybe to shipping price tax is being added?

Let us know.

Regards,
Drazen

March 25, 2024 at 10:03 am #15445615

matusV-2

Hello, yes I am using VAT 20% which is necessary and I can't turn it off

March 25, 2024 at 5:17 pm #15448493

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hi,

Thank you for contacting the support, I'll be handling this ticket.

Before proceeding further, may I ask you to try the following?

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.

- Deactivate all plugins except WPML, WCML and WooComerce 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 2024).

Please let me know and I'll try my best to help you further on the matter.

Regards.

March 25, 2024 at 8:01 pm #15448811

matusV-2

Hello, I tried it but there is still the same issue. The shipping fee for the second currency is rounded before taxes and then the final price is different as for the primary currency. This issue is only with shipping costs, prices of products are rounded after taxation

March 25, 2024 at 10:42 pm #15449164

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

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

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

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

March 28, 2024 at 7:34 am #15459027

matusV-2

Hello,

I tested all plugins in my web and it didn't help. I created a test web and there was the same problem. Can you test it please in your web?

March 28, 2024 at 4:12 pm #15461650

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the updates.

Can you please create a minimal setup on the following Sandbox site? It is a fresh installation with WPML plugins uploaded and configured with Czech and Slovak languages.

I've also uploaded WooCommerce and WCML, but haven't activated and configured, so you can configure as per your setup.

I'd request you to reproduce the issue in hidden link (one click login). This way we can see if this only happens on your server or it's a global problem. Then I can also request expert insights from our 2nd tier team, to investigate the issue.

Please take your time and reply when the site is ready. Once you are able to reproduce the issue, please write down detailed steps about how one can reproduce the issue on another fresh installation.

See https://wpml.org/faq/how-to-reproduce-issues-and-share-them-with-wpml-support/ for details.

March 28, 2024 at 8:51 pm #15462590

matusV-2

Hello, thanks for your feedback. I duplicated the same problem here. I created a test product in price 3,50€ incl. 20% VAT and shipping fee 3,50€ incl. 20% VAT.

The converted price for test product is 79 CZK and it is correct.
The converted price for shipping is 83 CZK.

The shipping in another currency is calculated this way:

3,5€ * 25CZK = 87,5 CZK (I set 1€ = 25 CZK)
87,5 - VAT = 72,92 CZK
this amount is rounded down to 70 (I set the rounding in WPML)
The VAT is added 70 * 1,2 = 84CZK
84 - 1 = 83 CZK (I set the autosubstract in WPML)

I think it should be calculated this way:

3,5€ * 25 CZK = 87,5 CZK
rounded down to 80 and autosubtract 1 = 79 CZK

Thanks

settings.png
March 28, 2024 at 10:33 pm #15462713

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for taking time to setup, I'll check this soon and 'll get back to you accordingly (max by tomorrow).

March 29, 2024 at 5:03 pm #15465135

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for your patience and cooperation.

I've observed the issue and 've escalated to our 2nd tier team for an investigation. I'll update you as soon as hear back.

April 2, 2024 at 9:32 am #15471751

matusV-2

Thank you, I hope they will find a solution as it is causing also wrong shipping prices in invoices

April 2, 2024 at 3:51 pm #15474049

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for your patience and cooperation.

The issue has further been escalated to our compatibility team, as this is a known issue. Our team is looking into this already, however, there's no ETA so far.

But I'll update you as soon as there's some progress on it.

Apparently looks like when taxes are enabled then this issue happens.