4 replies [Last post]
alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Was this information Helpful?

Depending on what type of shop your setting up the UPS product dimensions fields can narrow down the price dead on, but if your a dropship company selling 1000's of products, knowing the product box dimensions is just not going to happen.

It would be nice to see a checkbox in ubercart admin to turn this feature on or off.

For now you can simply comment it out.

Line # 89 in ubercart/shipping/uc_ups.module

//if ($form_values['ups']['pkg_type'] == '02' && (empty($form_values['length']) || empty($form_values['width']) || empty($form_values['height']))) {
//form_set_error('base][dimensions', t('Dimensions are required for custom packaging.'));
   //}

Note: you will still have to add customer supplied package for UPS when you add your products... Now UPS will show the right prices without the guess work.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Ups product dimensions and dropships

I thought for sure that UPS required dimensions for any customer supplied packages. I'm sure it threw errors when I was testing it. I checked, and I don't think there are any default values sneaking in if there aren't any numbers entered in the form. Did they change their policy on me without me knowing?

alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Re: Re: Ups product dimensions and dropships

Were using UPS on our oscommerce site without product dimensions.. It just pin points the costs down to the cent but not needed.

cybertoast's picture
Offline
Joined: 12/25/2008
Juice: 33
Re: Re: Re: Ups product dimensions and dropships

Given how old this topic is, I wonder if any resolution came about. I really think it would make sense to have an option in the shipping settings to either enable or disable dimension checking, with a warning indicating that the price quote might be inaccurate because there are no dimensions. The necessity to add dimensions seems to be largely unnecessary.

wintervanilla's picture
Offline
Joined: 03/22/2010
Juice: 31
Still Solves - Line Update

Just wanted to update that this old thread still helped me solve the problem of needing dimensions for custom packages. Our business wanted to leave this information blank, as we plan to use exclusively recycled cardboard (hard to guess at its size).

I'm using Ubercart 6.x 2.2 and wanted to note that the line # to edit has changed. In .../modules/ubercart/shipping/uc_ups/uc_ups.module I commented out lines 11 to 120 and we no longer are required to add shipping dimensions just to edit any field in our products.

Cheers,
A