Not sure if you solved this...
To remove the packages and weight, including the first "UPS", just comment out those lines (241-245 on mine)
Code:
//if (DIMENSIONS_SUPPORTED) {
// $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $this->boxCount . ($this->boxCount > 1 ? ' pkg(s), ' : ' pkg, ') . $totalWeight . ' ' . strtolower($this->unit_weight) . ' total)');
//} else {
// $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ($this->boxCount > 1 ? ' pkg(s) x ' : ' pkg x ') . number_format($shipping_weight,2) . ' ' . strtolower($this->unit_weight) . ' total)');
// }
To leave that first "UPS" in there, this worked for me:
Code:
if (DIMENSIONS_SUPPORTED) {
$this->quotes = array('id' => $this->code, 'module' => $this->title ); //. ' (' . $this->boxCount . ($this->boxCount > 1 ? ' pkg(s), ' : ' pkg, ') . $totalWeight . ' ' . strtolower($this->unit_weight) . ' total)');
} else {
$this->quotes = array('id' => $this->code, 'module' => $this->title ); //. ' (' . $shipping_num_boxes . ($this->boxCount > 1 ? ' pkg(s) x ' : ' pkg x ') . number_format($shipping_weight,2) . ' ' . strtolower($this->unit_weight) . ' total)');
}
To remove the delivery date estimates, comment out these lines (261-266 on mine)
Code:
// if (isset($this->servicesTimeintransit[$type])) {
// $eta_array = explode("-", $this->servicesTimeintransit[$type]["date"]);
// $months = array (" ", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
// $eta_arrival_date = $months[(int)$eta_array[1]]." ".$eta_array[2].", ".$eta_array[0];
// $_type .= ", ETA: ".$eta_arrival_date;
// }
That's what worked for me!
Bookmarks