Archive for January, 2011

14
Jan 11

Fix: UPS shipping calculator for regular daily pickup

Friday, January 14th, 2011

This notice only applies to clients utilizing UPS Shipping Calculators with the “Regular Daily Pickup” setting selected in the Shipping Calculators admin. Clients using “Customer Counter” may safely ignore this announcement.

The UPS has changed their API — and the “Regular Daily Pickup” option no longer returns the correct prices. For some reason, that method returns the same rates as the “Customer Counter” option — fortunately, the “One Time Pickup” option now returns the same rates as what “Regular Daily Pickup” used to return — so, adding this code:

Code:
if ($RateChart == ‘Regular+Daily+Pickup’) {
   $RateChart = ‘One+Time+Pickup’;
}

in the file inc/cart_functions.php

immediately *after* this line (around line 357, depending on your shopping catalog version):

Code:
$RateChart = value_from_id(‘tbl_ups_rate_chart’, ‘rate_chart_id’, ‘rate_chart’, $SHIPPING_CALCULATOR_CONTROL->ups_rate_chart_id);

will give you the correct prices for “Regular Daily Pickup”.

04
Jan 11

Important USPS update

Tuesday, January 4th, 2011

USPS has changed the codes returned by their Web Tools API — We have no
information regarding if any actions are being done to resolve the
issues currently being experienced by web tools API users — so in the
meantime, we have a patch for users running version 2.5 or later
(check your version at the bottom of your admin panel) that should resolve difficulties in calculating USPS shipping
methods.

Watch this space for more information:
http://www.cgonsa.com/blog/

contact me via email to get the patch.

extract the patch.

Via FTP Overwrite the file inc/usps/usps_functions.php with the file contained
in the zip

NOTE: This file is only compatible with versions 2.5 and newer.   If you are unable to do this yourself, please inquire with me for assistance.