New Zenner
- Join Date:
- Apr 2009
- Posts:
- 13
- Plugin Contributions:
- 0
Items less then 1 ounce for USPS shipping
I see this code:
// usps doesnt accept zero weight
$usps_shipping_weight = ($shipping_weight < 0.1 ? 0.1 : $shipping_weight); $shipping_pounds = floor ($usps_shipping_weight); $shipping_ounces = round(16 * ($usps_shipping_weight - floor($usps_shipping_weight)));
If I wanted to make the ounces round up to the 10th of an ounce or less would I just change the 16 to or would I change the shipping weight to read < 1 ? 1 :
I have seriously tried to change the code to < 1 ? 1 : and it then says that for USPS to ship first class mail it has to weigh under 13 ounces. All of my inventory weighs under an ounce. Most of it weighs 0.000568091 and .0625. How do I get the shipping correct? (I only need first class shipping.)