Guest Posted February 11, 2008 Posted February 11, 2008 I really want to use UPS on my website. I sell mostly stationery & some labels. Each item only weighs around 0.4 ounces, but people order multiple items. Most packages are between 1 - 3 pounds once packed for shipment. My web developer says that UPS does not support decimals, only whole numbers. But, I've seen other stores similar to mine that use UPS. Could the system round the final weight up to the next whole number, or no? Is there a way to make this work? Does the UPS module support decimals? Does osCommerce support decimals? Thank you so much for your help! Quote
shimonp Posted February 11, 2008 Posted February 11, 2008 The system support anything that is needed for UPS integration. decimal support is not up to particular contribution, but fundamentals of PHP language osCommerce is written in. There is absolutely no issue to round up decimals (you have at least ceil(), floor() and round() functions to achieve that) Shimon (http://addons.oscommerce.com/info/5711) I really want to use UPS on my website. I sell mostly stationery & some labels. Each item only weighs around 0.4 ounces, but people order multiple items. Most packages are between 1 - 3 pounds once packed for shipment. My web developer says that UPS does not support decimals, only whole numbers. But, I've seen other stores similar to mine that use UPS. Could the system round the final weight up to the next whole number, or no? Is there a way to make this work? Does the UPS module support decimals? Does osCommerce support decimals?Thank you so much for your help! Quote
Guest Posted February 11, 2008 Posted February 11, 2008 The system support anything that is needed for UPS integration. decimal support is not up to particular contribution, but fundamentals of PHP language osCommerce is written in.There is absolutely no issue to round up decimals (you have at least ceil(), floor() and round() functions to achieve that) Shimon (http://addons.oscommerce.com/info/5711) I just read something that everything must be entered in lbs. It gave the example that for 1lb 8oz you would enter 1.5. So technically 0.4 ounces would equal approximately 0.025 pounds. So I would enter 0.025 for my product weights. Quote
Jan Zonjee Posted February 11, 2008 Posted February 11, 2008 I just read something that everything must be entered in lbs. It gave the example that for 1lb 8oz you would enter 1.5. So technically 0.4 ounces would equal approximately 0.025 pounds. So I would enter 0.025 for my product weights. That is the correct way. Although the UPS module will round to a whole pound (UPS itself doesn't want you to use decimals). Quote
Guest Posted February 11, 2008 Posted February 11, 2008 That is the correct way. Although the UPS module will round to a whole pound (UPS itself doesn't want you to use decimals). Thank You so much! I forwarded this information to my web developer. I have been pulling my hair out because I didn't understand how it could not work! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.