Jump to content
 osCommerce 4 osCommerce 4 App Shop Support Services App Shop Us
• Checkout
• Login
• Get in touch

osCommerce

The e-commerce.

UPS module - product weight question

Recommended Posts

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!

Share on other sites

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)

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!

Share on other sites

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)

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.

Share on other sites

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).

Share on other sites

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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
×
• Create New...