You have to modify the file /includes/modules/shipping/upsxml.php
Change this code (around line 230)
PHP Code:
// BOF Time In Transit:
// comment out this section if you don't want/need to have expected delivery dates
$this->servicesTimeintransit = $this->_upsGetTimeServices();
if ($this->logfile) {
error_log("------------------------------------------\n", 3, $this->logfile);
error_log("Time in Transit: " . $this->timeintransit . "\n", 3, $this->logfile);
}
// EOF Time In Transit
$upsQuote = $this->_upsGetQuote();
if ((is_array($upsQuote)) && (sizeof($upsQuote) > 0)) {
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 this code:
PHP Code:
// BOF Time In Transit:
// comment out this section if you don't want/need to have expected delivery dates
// $this->servicesTimeintransit = $this->_upsGetTimeServices();
// if ($this->logfile) {
// error_log("------------------------------------------\n", 3, $this->logfile);
// error_log("Time in Transit: " . $this->timeintransit . "\n", 3, $this->logfile);
// }
// EOF Time In Transit
$upsQuote = $this->_upsGetQuote();
if ((is_array($upsQuote)) && (sizeof($upsQuote) > 0)) {
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);
// $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)');
}
I would suggest using the Quantum View Notify option when printing your UPS labels, your customer will be emailed the tracking details automatically.
Bookmarks