I think I found where to do it just do not know how to code it:
file: includes/classes/shipping.php
PHP Code:
$cheapest = false;
$size = sizeof($rates);
for ($i=0; $i<$size; $i++) {
if (is_array($cheapest)) {
// never quote storepickup as lowest - needs to be configured in shipping module
if (($rates[$i]['cost'] < $cheapest['cost'] and $rates[$i]['module'] != 'storepickup') || $size == 1) { // modified by Numinix for FEC
$cheapest = $rates[$i];
}
} else {
if ($rates[$i]['module'] != 'storepickup' || $size == 1) { // modified by Numinix for FEC
$cheapest = $rates[$i];
}
}
}
$this->notify('NOTIFY_SHIPPING_MODULE_CALCULATE_CHEAPEST', $cheapest);
return $cheapest;
}
}
}
Bookmarks