• Resolved jlmwp

    (@jlmwp)


    Hello
    We’ve found the following issue. We are running a Woocommerce store with the folloging currency options:

    • Currency: Chilean Peso
    • Thousand separator: . (dot)
    • Decimal separator: , (comma)
    • Number of decimals: 0

    When we edit the shipping methods, all the prices are shown with the thousand separator (the dot).

    If we change a value removing the thousand separator, the value get stored correctly.

    But, if we change a value keeping the thousand separator and save, then the thousand separator is considered as a decimal separator and the amount gets rounded.

    Here are a few captures from my testing site. To ensure no conflicts, I’m using the ‘Storefront’ theme and the only active plugins are Woocommerce and the one that provides the states names.

    This are the currency options:

    This is a Shipping method I want to modify. Values are shown with the thousand separator (the dot)

    Current cart totals:

    Where I’m saving the changes keeping the thousand separator.

    This is what gets stored. The value got rounded to 2. The correct price should be 1900

    For now we are editing all amount removing the separator.

    Is there a way to make woocommerce not round the values? Or maybe just not show the thousand separator when editing a Shipping Method?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @jlmwp,

    Thank you for reaching WooCommerce’s support. I understand you’re having issues with your flat rate shipping costs, correct? I believe this is related to an ongoing/known bug with the shipping settings and the decimal separator (our developers are aware of this one and are working on resolving it soon! You can follow the reports?here?and?here, for instance).

    The current workaround for this is to save the shipping settings without using a decimal separator, no period or comma, just the value, in your case:?1500. Could you please give this a try? For instance, I just tried replicating your settings:

    • Currency: Chilean Peso
    • Thousand separator: . (dot)
    • Decimal separator: , (comma)
    • Number of decimals: 0

    Saving the cost with a dot I could replicate the issue and see the value rounded up to $2. Saving the value without a dot, like this, does the trick:

    Direct link to the image: https://snipboard.io/Mn1HDG.jpg
    Direct link to the image: https://snipboard.io/4zvXEG.jpg

    Please let us know if this works for you!

    Thanks!
    -OP

    Thread Starter jlmwp

    (@jlmwp)

    Thank you.

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @jlmwp,

    Glad to know that we were able to help.

    Should you have further inquiries, kindly?create a new topic here.

    Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review here? It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a long way.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.