UPS Shipping + Custom Packaging + Dimensions Error as configurable option

Project:Ubercart Contributions
Component:Code
Category:
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

The issue is actually against Ubercart-2.x-beta5, but it's not in the dropdown list of versions.

There are a few posts about UPS quotes, custom packaging and dimensions. Basically UPS does *not* require the dimensions of a package to provide a quote. BUT, if dimensions are available, the quote is more accurate (by anywhere from 10-40 cents in my rough tests).

In the current version, there is no way to optionally disable the dimensions requirement for UPS shipping. The attached patch allows you to do so.

The patch creates as new set of checkboxes in the UPS settings page (admin/store/settings/quotes/methods/ups). The checkboxes are for different Errors and Warnings. The only one defined by this patch is for the above issue, and the option is called ERR_CUSTOM_PKG_NO_DIMENSIONS. When set, Ubercart will raise an error if a product does not have dimensions and custom packaging is selected. If it is not set, it will raise a warning message.

The patch affects the uc_ups.module and uc_ups.admin.inc files.

I'm not sure if this is the best way to address this issue, but it made it very convenient for my client to not have to add dimensions to all products.

The patch is applied against ubercart-2.x-beta5's uc_ups module.

Version: 
Ubercart 2.x-dev
PreviewAttachmentSize
uc_ups.patch1.47 KB
RachelNY's picture
Offline
Joined: 01/06/2009
Juice: 62
Re: UPS Shipping + Custom Packaging + Dimensions Error as config

We need this as well -- has anything been done on this?

adamo's picture
Offline
Getting busy with the Ubercode.
Joined: 02/17/2009
Juice: 229
Re: UPS Shipping + Custom Packaging + Dimensions Error as config
Assigned to:RachelNY» adamo

To me this is a bug. UPS doesn't require dimensions to get a shipping quote, nor do they require dimensions to actually ship something. You may get better rates if you include dimensions, but this should be an option, not a requirement. I submitted an issue here: http://drupal.org/node/554064 Hopefully this will get some attention.

gh0st25's picture
Offline
Joined: 06/09/2009
Juice: 40
Re: Re: UPS Shipping + Custom Packaging + Dimensions Error as co
Assigned to:adamo» gh0st25

Yes. This worked for us previously. I upgraded to Ubercart rc5, and get this error even though dimensions are there.