Skip Navigation

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

Problem:
The client is trying to enter shipping fee prices with two decimal places, such as €3,39. However, after saving, the price is rounded to a whole number, resulting in €3,00.
Solution:
If you're experiencing issues with decimal places in shipping fee prices not being saved correctly, we recommend you adjust the WooCommerce settings.
Go to WooCommerce > Settings > General tab > Currency options. Here, change the Decimal separator to a comma or period, as preferred, and set the Number of decimals to 2. This should ensure that your prices retain the correct decimal places after saving.
You should also make sure to clear your website cache
If this solution doesn't look relevant to your issue, please open a new support ticket with us.

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 4 replies, has 2 voices.

Last updated by Mohamed Sayed 11 months, 2 weeks ago.

Assisted by: Mohamed Sayed.

Author Posts
January 9, 2024 at 9:19 am #15163591

Wim Roskam

I am trying to: enter shipping fee prices with 2 values behind the comma

Link to a page where the issue can be seen: I you need I will give you the link

I expected to see: e.g. € 3,39

Instead, I got: (after saving) € 3,00

Alternatively I entered: € 3.39

Instead, I got: (after saving) € 3,39 and after saving again, I got: € 3,00

Scherm­afbeelding 2024-01-09 om 10.17.20.png
January 9, 2024 at 11:08 am #15164023

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

You can change this from the WooCommecre settings. Please go to WooCommerce > Settings > General tab > Currency options, then change the Decimal separator and set the Number of decimals to 2

Kind regards,
Mohamed

Screenshot_492.png
January 9, 2024 at 1:04 pm #15164550

Wim Roskam

Hi Mohammed,
The decimal seperator shows a , and it's set to 2 decimal places. This is according my country (the Netherlands) and it is just like the original website akaija.com that also works with WPML and Woocommerce. In this website all works fine.
But I do remember, vaguely, that I have had this same problem several years ago. Can it be related to cache-settings? Just wondering.
Kind Regards,
Wim

January 9, 2024 at 1:15 pm #15164574

Wim Roskam

Me again, I just tried clearing the cache and this worked! Still thanks for the advice.
Kind Regards,

Wim

January 9, 2024 at 2:08 pm #15164980

Mohamed Sayed

Hi Wim,

I'm glad to hear that you managed to fix this issue.

Please feel free to contact us again if you have any further questions or issues, we will be always happy to help.

Kind regards,
Mohamed