Zone Based Rates, $shipping_weight add two decimal places

Open to all! Ask other shopowners for help.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Zone Based Rates, $shipping_weight add two decimal places

Post by heatherbell »

Philo2005 wrote: Mon Jan 27, 2025 9:02 am Perhaps it would make sense to take this into account in the main version of Phoenix:
(products_weight field decimal 6,3).
Good that you found a solution for your use case and thank you for sharing but consider, that even with the default imperial weight measurement of 1 pound = 16 ounces and 1 ounce = 0.0625 pounds, it would require 4 decimal places for that level of accuracy which maybe better handled with ounces/grams as weight unit.


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Zone Based Rates, $shipping_weight add two decimal places

Post by ecartz »

For postage stamps, it might make more sense to measure mass/weights in grams or ounces rather than kilograms or pounds.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply