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 rate table -commercial vs residential

Thread began 3/18/2009 10:49 am by robert329616 | Last modified 3/18/2009 3:44 pm by robert329616 | 5594 views | 7 replies |

robert329616

ups rate table -commercial vs residential

Hello.

Is anyone else having issues with UPS quotes?
I set up my checkout page through the wizard to access UPS for shipping quotes. No matter what address is input, it always comes back as non-residential which is cheaper than the actual rate when I ship.

I contacted UPS and they said to add a radio button to allow the customer to choose. The problem is when I click on residential I am still getting commercial. Is there another area in the confirm.php that I need to add code? I added the buttons to the checkout.php page.

Or is there a way to always have the residential quote come back since 95% of my customers are residential.

Thanks for any help with this.
Regards,
Rob

Sign in to reply to this post

Ray BorduinWebAssist

Open the file: WA_eCart_UPS_PHP

find the line:

$UPS_XML .= "</Address></Shipper><ShipTo><Address>";

and replace it with:

$UPS_XML .= "</Address></Shipper><ShipTo><Address><ResidentialAddressIndicator/>";

It appears from reading their documentation that this would resolve the problem.

Sign in to reply to this post

grantr281040

I actually have this same problem and have been eating the cost difference from UPS.

So Ray..
Would this fix make everything a residential shipment or would it be able to differentiate between residential and commercial?

Sign in to reply to this post

Ray BorduinWebAssist

This would make everything residential. There is no way to tell it appears, so the alternative might be to add a checkbox for someone to check if it is commercial named isCommercial with the value of "1" and make the code something like:


$UPS_XML .= "</Address></Shipper><ShipTo><Address>";
if (isset($_POST["isCommercial"])) {
$UPS_XML .= "<ResidentialAddressIndica tor/>";
}

Sign in to reply to this post

grantr281040

Unfortunately UPS gets to decide what is commercial or residential. They have some mixed up and will charge residential for some commercial addresses.

I think they just return a result based on the zip and not the actual address so unless they were to change their result or request criteria I don't know that there is a way around it.

You can let the client choose but it will never guarantee the proper rate as UPS will classify some commercial as residential anyway.

So I just pad the add on section a bit to even out the win or loss from order to order.

Good luck!

Sign in to reply to this post

robert329616

Ray,

That was a huge help!
How do you pad the rate?

Thanks,
Rob

Sign in to reply to this post

grantr281040

in the ecart object under the shipping tab you'll see the calculation section...

select ..."Based on the UPS shipping quote value" in the dropdown and then
select... ups shipping quote "plus" and in the text field enter the number you want to add "5" (will add $5.00 to the quote when the shipping amount is displayed)

Sign in to reply to this post

robert329616

Ray,

Great! Thanks again for your help!

Regards,
Rob

Sign in to reply to this post

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