Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPS question! How to take if the LBS sign & change the weights?


keithtq

Recommended Posts

At the shipping page, I don't want customers to see how many lbs we are charging them, anyone knows how to take it off?

 

Also, I guess USPS has a minimum of 3 lbs in the system, eventho I put 0 lbs, USPS still charging 3 lbs. Do you know how to change to to zero? I want the system to charge whatever weight we put in there, most of the products that we are selling is less than 3 lbs.

Link to comment
Share on other sites

Hi,

i have just had the same problem.

I solved this way:

 

In admin > configuration > shipping/packaging set both the tare weight and larger packages percentage increase to 0.

 

now i ve solved that, i cant change my weight from lbs to grams...very stressful

good luck

 

wez

Link to comment
Share on other sites

Hi,

i have just had the same problem.

I solved this way:

 

In admin > configuration > shipping/packaging set both the tare weight and larger packages percentage increase to 0.

 

now i ve solved that, i cant change my weight from lbs to grams...very stressful

good luck

 

wez

 

Hello:

 

I did the same thing but it still shows me :

 

Shipping to TH : 0 lb(s)	  $8.50

 

Is it possible not to show 0 lb(s) ? :blink:

Link to comment
Share on other sites

At the shipping page, I don't want customers to see how many lbs we are charging them, anyone knows how to take it off?

 

Also, I guess USPS has a minimum of 3 lbs in the system, eventho I put 0 lbs, USPS still charging 3 lbs. Do you know how to change to to zero? I want the system to charge whatever weight we put in there, most of the products that we are selling is less than 3 lbs.

I handled it thru the shipping modules by simply eliminating the field that allows this to show. First backup your entire OSC directory. Then go into catalog/includes/modules/shipping and select the USPS.php file. In this file you will find the following:

 

// usps doesnt accept zero weight

$shipping_weight = ($shipping_weight < 0.1 ? 0.1 : $shipping_weight);

$shipping_pounds = floor ($shipping_weight);

$shipping_ounces = round(16 * ($shipping_weight - floor($shipping_weight)));

$this->_setWeight($shipping_pounds, $shipping_ounces);

 

$uspsQuote = $this->_getQuote();

 

if (is_array($uspsQuote)) {

if (isset($uspsQuote['error'])) {

$this->quotes = array('module' => $this->title,

'error' => $uspsQuote['error']);

} else {

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

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

 

Change this line:

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

 

to this:

 

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

 

Leave the quotation field blank where the actual calculation is made. Now it will show nothing when they visit the checkout_shipping.php page in your store.

 

You will find this same line in the UPS.php file and just do the same thing.

 

If you want to see the way it looks, just visit my store at: www.stickypod.com/osc/

 

Hope this helps.

Tom

Anyone can buy a camera... it's what you do with it that counts!

Sticky Pod

www.stickypod.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...