Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove the weight dimensions when checking out


ActiveTuning

Recommended Posts

Posted

Which file/line would I need to edit to take of the weight when checkout. Ex: UPS (1 x 2lbs)

 

I did this once before on my old install, but can't remember how.

 

Any help would be appreciated.

Posted

Find the following line in /includes/modules/shipping/ups.php:

 

if ( (is_array($upsQuote)) && (sizeof($upsQuote) > 0) ) {

        $this->quotes = array('id' => $this->code,

                              'module' => $this->title . ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)');

 

Replace with:

 

if ( (is_array($upsQuote)) && (sizeof($upsQuote) > 0) ) {

        $this->quotes = array('id' => $this->code,

                              'module' => $this->title);

 

Is this you need?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...