If you really want to use the usps module for this you can modify the module.
Find the following code around line 410.
PHP Code:
for ($i=0; $i<$size; $i++) {
list($type, $cost) = each($uspsQuote[$i]);
and add the following underneath so it looks like this:
PHP Code:
for ($i=0; $i<$size; $i++) {
list($type, $cost) = each($uspsQuote[$i]);
if (!strstr($transittime[$type],'Tomorrow')) {
if (($i+1)==$size && empty($methods)) {
$this->quotes = array(
'module' => $this->title,
'error' => 'Sorry, Overnight Shipping is not available to your location.');
}
continue;
}
And that should do what you need, though it relies on the 'Display Transit times' option to be ticked in the module config.
And if that works for you buy me a couple drinks!
Bookmarks