Hi
I am just wondering how to change from pounds to grams/kilograms because im am located in Australia?
Hi
I am just wondering how to change from pounds to grams/kilograms because im am located in Australia?
Have you tried the Search facility?
The way to check is to go to admin>tools>developers toolkit and type in "lb" at the bottom left field and then select all catalog/admin files. Then edit the files and stick them in your override directories.
And yes, one day, this probably will be switchable in admin!
Development Manager @ JSWeb Ltd
Over 15 years with Zencart
Hi thanks Ryk,
I have changed it to KGs,
to change it u need to modify these files:
/admin/includes/languages/english.php
Line #570 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
/includes/languages/english.php
Line #376 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
Line #379 : define('TEXT_SHIPPING_WEIGHT','lbs');
/includes/languages/english/modules/shipping/zones.php
Line #25 : define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'lb(s)');
Thanks for the Help
Spot on. Apart from in the USPS shipping module (which implicitly assumes lbs) weight is just a label for display, though if you use a different scale you may also want to check the "maximum package weight you will ship" variable in the Admin > configuration > shipping/packaging menu (especially if you swicth to grams!)Originally Posted by tekfix
Thank you so much for that, has made my life so much easier :)
vegan nut free eco friendly skin care
skinessence australia
It does not matter what the line numbers are, just look for the same code.
Im stunned that ZenCart only include lbs. The US is NOT the only country in the world!
Considering the ease of use over other carts, you would think it would be just common sense to put an option in the config settings where you can select KGs. So so so logical to do this! Grhhhh.....
Actually Zen Cart is way ahead of most carts on this point. Instead of simplistically building a switch into the Admin to offer the standard lbs, kg and g, it allows you to use any weight units you like. So if you wanted to offer units in tonnes or milligrams or carats or Zogian rogulles, you can.
And moreover, if you want to describe your everyday kilograms as kg in one language but kilo to a visitor in a different language - you can do that too.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
if you change those three files that works great. Tho, only 2 seem to be in custom folders. will they not be overwritten when we upgrade?
ZC 1.3.7 :)
/admin/includes/languages/english.php
Line #569 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
/includes/languages/english.php
Line #392 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
Line #395 : define('TEXT_SHIPPING_WEIGHT','lbs');
/includes/languages/english/modules/shipping/zones.php
Line #25 : define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'lb(s)');
Well this is what I found in my cart anyway.
I have installed ZC 1.3.7 with the following additional modules.
IH2.0
MySQL database backup
stock with attributes 4.5
AustPost Improved.
Hope this helps someone else.
DAVE
:)
Last edited by DrByte; 27 Oct 2007 at 04:24 PM. Reason: removed private information
Bookmarks