• Resolved tchernaev

    (@tchernaev)


    Order weight displays like this:

    https://prnt.sc/n_jTJWzoDdwZ

    Do you know how to fix it? I did not see any settings regarding this.

    In the order there are 2 products:

    1 x 0.024

    1 x 0.142

    the total should be 0.166, but it is showing 0.16599999999999998 kg

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andreas Karman

    (@andreaskarman)

    Hi @tchernaev,

    Great catch, I will make sure that wc_format_weight() is used everywhere where the order weight is displayed.

    Releasing an update to the plugin later this week and this will be included.

    Thread Starter tchernaev

    (@tchernaev)

    okay thanks for the quick answer. Pls message here once the update released. Thanks!

    Plugin Author Andreas Karman

    (@andreaskarman)

    Hi @tchernaev,

    2.1 is now released which should resolve this issue. Please check it out and get back to me with any feedback.

    Thread Starter tchernaev

    (@tchernaev)

    this update cause error 500 on my checkout and I lost a lot of orders because of this. I suddenly realized the website was not getting any orders. Please test carefully your plugin before releasing new version.

    Plugin Author Andreas Karman

    (@andreaskarman)

    @tchernaev

    It is tested with both HPOS and legacy mode, on PHP 7.4.3, PHP 8.1.9 and PHP 8.3.8. Do you have anything about the 500 error in your logs?

    Thread Starter tchernaev

    (@tchernaev)

    Nothing in the error logs. PHP is 7.4.3

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