PDA

View Full Version : UPS Real Time Rates


jackkyll
May 28th, 2004, 07:13 PM
Can you tell me why the real time rates is so far off from actual rates?

I just had an order that was charged $6.79 shipping for 2 pounds, when I went to UPS.com to create the shipping the amount was $8.10. The difference is too big when my order was only for $14.00.

Where can I change some settings to make it accurate?

Rich
June 23rd, 2004, 11:52 AM
Sorry for the late reply... We missed this when it was first posted.

You could be experiencing the bug addressed in the following post: http://www.ldev.com/forums/showthread.php?t=1254
Apply the file attached to that post to your Squirrelcart installation, and let us know if you continue to have a problem.

iroshai
July 8th, 2004, 02:42 PM
I have had this problem as well; if only one item is ordered, shipping costs determined by UPS RTR are too low. If multiple items are ordered, shipping seems to come out OK. I've applied the above mentioned patch; no joy.

I've emailed about rates for customizing the cart to allow a fixed "handling charge" to each order to cover the costs of shipping boxes, etc. and the discrepency between UPS RTR and actual rates, or where to look (cart.php?) to add a line myself to automatically add $4 or so per order.

iroshai
July 9th, 2004, 10:36 AM
I don't mean to hijack this thread; but I'm getting a lot of heat from my client to fix this problem.

I notice in process_cart.func the following line:

// ------------ $item_total is total of all options and base price for one item
unset($Item_Total);
$Item_Total = $options_total + $ord["base_price"];
$Item_Total = number_format($Item_Total, 2, '.', '');
$SC[order][$i][item_total] = $Item_Total; // set total price of item in session

Can I change this line like so to add $4 to all orders?

$Item_Total = $options_total + $ord["base_price"] + 4;

Of course, something will have to be added to let the customer know that the extra $4 is a handling charge.

Jamie
July 9th, 2004, 11:20 AM
Hi,

For us to look at this and see what is going on, you will need to open a helpdesk ticket. The rates should match what you would get if you check them at ups.com. I would also suggest that you apply this bug fix:

http://www.ldev.com/forums/showthread.php?t=1384

Thanks,
Jamie