Zen Cart Logo
Forums / General Questions / How do i change the product weight format?

How do i change the product weight format?

Locked

Views: 1,892

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Aug 2009, 2:25 PM
#1
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

How do i change the product weight format?

Hi

I want to change the measurement of product weight from pounds (lb) to kilograms (kg).

i have used the developers tool kit, i just wanted a ZC God to confirm if i am right or wrong...

do i simply change all instances of 'lbs' to 'kgs'???

All comments welcome!
Cheers

/AdM1N/includes/languages/english.php
Line #571 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
 
/includes/languages/english.php
Line #391 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
Line #394 : define('TEXT_SHIPPING_WEIGHT','lbs');

/includes/languages/hypres/english.php
Line #392 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
Line #395 : define('TEXT_SHIPPING_WEIGHT','lbs');
 
/includes/modules/shipping/usps.php
Line #133 : // weight must be less than 35lbs and greater than 6 ounces or it is not machinable

Line #245 : $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('All Packages are Machinable', 'MODULE_SHIPPING_USPS_MACHINABLE', 'False', 'Are all products shipped machinable based on C700 Package Services 2.0 Nonmachinable PARCEL POST USPS Rules and Regulations?<br /><br /><strong>Note: Nonmachinable packages will usually result in a higher Parcel Post Rate Charge.<br /><br />Packages 35lbs or more, or less than 6 ounces (.375), will be overridden and set to False</strong>', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())"); 
9 Aug 2009, 3:21 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do i change the product weight format?

Yes, that's what you need to do. I changed the weight measurement from lbs to ozs on the Holzheimer site in my sig.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey