Distance Unit Rate field saves 1500 as 2 (Pro user)
-
Hello,
I’m using the PRO version of Shipping Zones by Drawing for WooCommerce, and I’m having an issue with the Distance Unit Rate field.Problem
I need to set the delivery rate to 1500 per kilometer, but the field does not save the value correctly.
When I enter:
1500or
1.500the plugin seems to automatically interpret it incorrectly and ends up converting it to 2.
It looks like the field is treating the value as a decimal number (for example
1.500→1.5) and then rounding it, instead of saving it as 1500.Expected behaviorIf I enter a value of 1500, the plugin should save it as 1500 and calculate the shipping cost accordingly.Actual behavior
The field forces or reformats the value in a way that results in the saved rate becoming 2, which makes the distance-based shipping calculation unusable.What I already tried
I tested multiple formats, including:
15001500.001500,001.500
but none of them work correctly.
Thank you.
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.