Converting ZenCart Product Weight from Ounces to Pounds
Written by: J Dawg
Current versions of Zencart does not allow you to specify ounces for your products weight when your global settings is for pounds (lbs). This is very frustrating when, for me, most of my products are less than a pound. This throws off weight calculations when the customer checks out and shipping is calculated.
I found this out the hard way when I received an email from a potential customer asking if I could ship the products using DHL instead of the US Postal office because she did not want to spend $150 for shipping. You see, I had put a weight of 1 for most of my products. Dumb idea I know.
Here is the code, look at the comments of the script to see the easy installation. Please note that this is changing one of the programs that is apart of Zencart so any future updates may wipe these changes away. You will just have to re-add the additions.