ronr1999 Posted March 22, 2005 Share Posted March 22, 2005 Customer orders two items at 40lbs each. UPS XML shows: "UPS (United Parcel Service) (2 pkg(s) x 40 lbs total)" I would like it to show: "UPS (United Parcel Service) (2 pkg(s) = 80 lbs total)" ---- Seems much clearer to me... Can anyone help make this change ? Thanks! RonR Quote Link to comment Share on other sites More sharing options...
ronr1999 Posted March 22, 2005 Author Share Posted March 22, 2005 This seems to work: Find this in catalog/includes/modules/shipping/upsxml.php around line 233: $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ($this->boxCount > 1 ? ' pkg(s) x ' : ' pkg x ') . $shipping_weight . ' ' . strtolower($this->unit_weight) . ' total)'); And change to: $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ($this->boxCount > 1 ? ' pkg(s) = ' : ' pkg = ') . $total_weight . ' ' . strtolower($this->unit_weight) . ' total)'); (sometimes this stuff is way easy !!) RonR Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.