• Resolved deebuy

    (@derekebye)


    Hello,

    I have the shipping set to charge $5 for 15km and under, and $30 for 30km and under.

    I have chosen “KM” for the shipping calculations in the admin panel, and the API response comes back showing 16km.

    When checking out, I put in an address I know is 16km away. The checkout page says “10 KM”, and is charging $5.

    I figured out that Wooreer is taking the 16km, converting it to miles (10 miles), and allowing the $5 shipping since it’s under the limit of 15km.

    The odd thing, is that in the admin panel I changed it to “miles”, and the checkout page now shows “10 MI”, and still charges $5. So no matter which option I choose, it always calculates based on miles.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello!

    I had the same problem definitely a bug, solved it by modifying the “class-wcsdm-shipping-method.php” file, in the convert_distance method change value 0.000621371 to 0.001.

    Admins, should I create a new post to report this bug?

    Regards.

    Plugin Author Sofyan Sitorus

    (@sofyansitorus)

    Hello,

    Thanks for the report. Yeah this is bug that arise in the recent update. The fixes will be released ASAP.

    Sofyan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Metric chosen, still Wooreer calculates miles’ is closed to new replies.