Zen Cart Logo
Forums / Basic Configuration / How do i change the weight to grams instead of using the default lbs?

How do i change the weight to grams instead of using the default lbs?

Views: 2,152

Results 1 to 5 of 5
10 Aug 2010, 8:03 AM
#1
sgspeer avatar

sgspeer

New Zenner

Join Date:
Aug 2010
Posts:
47
Plugin Contributions:
0

How do i change the weight to grams instead of using the default lbs?

Hi,

How do i change the weight to gram instead of using the default lbs.

Thank you in advance

15 Feb 2011, 10:31 PM
#3
kathrynbau avatar

kathrynbau

New Zenner

Join Date:
Feb 2011
Location:
Gladstone QLD Australia
Posts:
5
Plugin Contributions:
0

Re: How do i change the weight to grams instead of using the default lbs?

OK I found that but it doesnt say what to change it to "kgs" ? or "grams"

And I have yet to find how to actually find the code to make the change but I am assuming thats in another thread also.

Absolute newby started yesterday.

16 Feb 2011, 2:12 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: How do i change the weight to grams instead of using the default lbs?

kathrynbAU:

OK I found that but it doesnt say what to change it to "kgs" ? or "grams"....

Use any of the two. Zencart does not care if it says 'grams' or 'kgs' or 'lbs', it only uses the actual values (numbers) for calculations.

Bear in mind though that, if you use 'kgs' then you need to enter the individual product weights as 0.xx (eg 0.45 is displayed as 0.45 kgs) whereas for 'grams' you would enter weights as xxx (eg 450 is displayed as 450 grams)

The file to edit is: includes/languages/english.php

Copy the file to your template first before making changes. Search the forum for 'override system'

16 Feb 2011, 2:32 AM
#5
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: How do i change the weight to grams instead of using the default lbs?

frank18:

...
Copy the file to your template first before making changes. Search the forum for 'override system'

See this tutorial: https://www.zen-cart.com/tutorials/index.php?article=230