Ups product dimensions and dropships

Posts: 146
Joined: 11/10/2007
Bug Finder

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.

--

Give and you will receive, you will be given much. Pressed Down, Shaken together, Running Over, it will spill into your lap.

Posts: 2271
Joined: 08/07/2007
AdministratoreLiTe!

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?

Posts: 146
Joined: 11/10/2007
Bug Finder

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

--

Give and you will receive, you will be given much. Pressed Down, Shaken together, Running Over, it will spill into your lap.