Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
Guest

Any way to delete display of weight in checkout?

Recommended Posts

Guest

Is there any way to edit checkout_shipping.php so that it does not display the weight of the package for USPS and UPS shipping options?

 

My vendor charges me over and above actual USPS and UPS shipping rates to ship out orders so I've added a handling fee and the shipping totals are correct so that I won't loose too much money on shipping.

 

However, since both the UPS and USPS shipping options display the weight of the package there are now customers who are complaining about the shipping rate because they can look up the actual USPS and UPS rates for a package of that size (even though I am charging less for shipping than I am actually being charged, and less than most others with the same products are charging).

 

The simple fix for this would be to delete the line of code that is displaying the weight so that they just see the fees and not the package weight.

 

I've looked through checkout_shipping.php but it isn't as easy for me to pick out what I should delete in this file to get the desired result without breaking the functionality of the page.

 

Anyone know what I need to edit or delete?

Share this post


Link to post
Share on other sites
Is there any way to edit checkout_shipping.php so that it does not display the weight of the package for USPS and UPS shipping options?

 

My vendor charges me over and above actual USPS and UPS shipping rates to ship out orders so I've added a handling fee and the shipping totals are correct so that I won't loose too much money on shipping.

 

However, since both the UPS and USPS shipping options display the weight of the package there are now customers who are complaining about the shipping rate because they can look up the actual USPS and UPS rates for a package of that size (even though I am charging less for shipping than I am actually being charged, and less than most others with the same products are charging). 

 

The simple fix for this would be to delete the line of code that is displaying the weight so that they just see the fees and not the package weight.

 

I've looked through checkout_shipping.php but it isn't as easy for me to pick out what I should delete in this file to get the desired result without breaking the functionality of the page.

 

Anyone know what I need to edit or delete?

Share this post


Link to post
Share on other sites

This is done in the include/modules/shipping/ups.php file.

 

find line:

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

 

and replace it with:

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×