Re: Items less then 1 ounce for USPS shipping
the shipping weight is in pounds - so your <1 ? 1: edit results in anything less than 1 pound being set to 1 pound. The original $usps_shipping_weight line makes anything less than 0.1 pounds equal to 0.1 pounds - that is then converted to ounces in the $shipping_ounces line, which would make your absolute minimum weight for submission to USPS equal 1.6 ounces.
You could change all that code to this to ensure that the minimum weight submitted is 1 ounce.
Edit: oops - clicked the wrong button and submitted before I finished...will post suggested code in a few minutes....
Last edited by bunyip; 11 Apr 2009 at 06:11 AM.
Neville
An assumption is what you arrive at when you get tired of thinking...