Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Kilos not Ponds for weight


Guest

Recommended Posts

Hello

 

Can someone please tell me how to set the default unit for weight to Kilos or Grams, I can't find where to do it?

 

I'm using the Table Rate shipping module.

Link to comment
Share on other sites

in zones.php

 

define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'lb(s)');

 

change to:

 

define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'kg'); //for kilograms

or

define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'g'); //for gram

 

Your items don't care what number you put in for a "weigh" as it is just a number. Put in "10" would display as 10kg in zone based shipping.

 

Warnning: OTHER shipping moduals assume this is in pounds!!!!! Regarless of displayed unit.

Link to comment
Share on other sites

Thankyou for your time but I already new that, I'm using Table rate not zones so editing zones.php dosen't help me.

 

I will carry on converting all my weights manually, unless anyone else has any ideas.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...