close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UPS Size Dimensions Not Working

Thread began 3/09/2017 4:33 pm by Robert Crespo | Last modified 3/15/2017 2:12 pm by Ray Borduin | 66 views | 19 replies |

Robert Crespo

UPS Size Dimensions Not Working

Hello WebAssist,

The problem I am facing is that my UPS calculation is not factoring in the L x W x H dimensions. I have everything coded correctly, but the only thing that works is the weight of the product in determining the shipping value. Is there any way to make sure that the shipping dimensions can be factored into the final UPS shipping quote?

Thank you,
Robert Crespo

Sign in to reply to this post

Ray BorduinWebAssist

Can I see a copy of the page with the shipping applied? It should be passing the dimensions and accounting for it.

Sign in to reply to this post

Robert Crespo

Ray, thank you for your help. I have attached the confirm.php page which contains the UPS shipping calculation script. I appreciate your taking a look at this.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like it is set up correctly. Are you sure the values for Legnth, Width, and Height values are set correctly in the cart? I see there is a typo in the word Length... that is fine as long is it is set that way.

Maybe try dumping the session on a blank page after the shipping is calculated and see if the values appear to be set correctly there:

php:
<?php

@session_start();
var_dump($_SESSION);
?>
Sign in to reply to this post

Robert Crespo

Ray,

I added the session dump to the confirm.php and verified that the shipping dimensions are being passed along as you can see in the private message area. It seems that no matter what shipping dimensions I use, the weight variable seems to be the only thing that effects the shipping calculation.

As for the misspelled item, Legnth instead of Length, it is misspelled throughout the entire website, including the database field also named Legnth. The misspelling is not affecting the correct length data being added to eCart.

Thank you,
Robert

Sign in to reply to this post

Ray BorduinWebAssist

Dimensions are only used for light packages. UPS will calculate the weight charge and the box size charge and charge you the greater of the two. Since you are sending a 150lb item, the weight is more significant than the box size when determining cost. A box that size wouldn't be 103.41 if it didn't weigh so much. Is that the amount that is showing in your checkout?

Sign in to reply to this post

Robert Crespo

Ray, thank you for getting back to me on this shipping dimension issue I am having. Upon further testing of the UPS dimensions it turns out that if I set the weight of the item to 150 LB's while inputing in the correct shipping dimensions, the "correct" UPS calculation was rendered. However, If I removed the weight figure, or set the weight to 1 LB, it resulted in a shipping price that was 30% less. So, yes, it does look like that the UPS eCart object is factoring both calculations. However, if I set the weight of the product to the actual weight, which would be more like 75 LB's, the resulting shipping amount is "incorrect" because not enough shipping was calculated. To get the "correct" shipping amount requires a lot of playing around with the weights and dimensions.

Sign in to reply to this post

Ray BorduinWebAssist

You could send the information about the request and response to UPS and see what they have to say. If we are passing the right information and they are passing back the wrong rate I'm not sure what the cause would be. We would need to know what was wrong about the request we are sending and then we could correct that to get the correct response.

Sign in to reply to this post

Robert Crespo

Ray,

OK, I am slowly getting to the crux of the matter when it comes to the shipping calculations. The biggest issue that I am faced with is when a customer add an item to the shopping cart that comprises multiple boxes. For example, I am selling a large plant light cart called model GA3-P2. Model comprises of three boxes that are the following dimensions:

Box #1: 70" x 24" x 6"
Box #2: 57" x 18" x 6"
Box #3: 57" x 21" x 4"

However, the only dimensions that I am passing to eCart are the Box #1 dimensions of 70" x 24" x 6".

Do you recommend that I add the dimensions all up and pass the aggregate values to the Length, Width, and Height fields? So, instead of passing 70" x 24" x 6" I can pass 184" W x 62" W x 16" H. Would that be better?

Sign in to reply to this post

Robert Crespo

Ray,

Well, that did not work. Adding up the shipping dimensions of all three boxes to 184" W x 62" W x 16" H resulting the UPS shipping calculation to fail.

From the way I see the problem, the solution would need to account for multiple boxes per item. It seems to me that I am in need of a custom solution. Can this problem be solved with a custom support ticket?

Thank you,
Robert

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...