Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing the weight in checkout_shipping.php


Guest

Recommended Posts

Posted

Hello,

 

I am trying to remove a bit of text from this page. What i want removed is highlighted in this image below:

 

checkout_shipping.gif

 

I want everything else to stay as it is. I just want the weight bit gone, just whats in the red box.

 

Thanks in advance. Any help would be appreciated.

Posted

I'd like to do the same, but have come up short so far (tried alterting the UPS shipping module). Any help would be appreciated :)

Posted

I always figure it out or find the answer right after asking for help :-"

 

Here's how you do it using UPS. I'm pretty sure it's the same for any shipping module.

 

Open up the /catalog/includes/module/shipping/ups.php

 

Change this code (line 94):

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

 

To this:

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

Posted

Well, sorry for 3 posts in a row, but I decided to take a gander at the zones code and it doesn't work like the ups. But don't worry, I figured this one out too :D

 

Open up the /catalog/includes/module/shipping/zones.php

 

Change this code (line 142):

$shipping_method = MODULE_SHIPPING_ZONES_TEXT_WAY . ' ' . $dest_country . ' : ' . $shipping_weight . ' ' . MODULE_SHIPPING_ZONES_TEXT_UNITS;

 

To this:

$shipping_method = MODULE_SHIPPING_ZONES_TEXT_WAY . ' ' . $dest_country;

 

Hope this helps :thumbsup:

  • 3 weeks later...

Archived

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

×
×
  • Create New...