Forums / Templates, Stylesheets, Page Layout / Change Weight from lbs to kg

Change Weight from lbs to kg

Locked

Started by neweb on 23 Sep 2009, 10:38 AM · Views: 3,834

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
23 Sep 2009, 10:38 AM
#1
neweb avatar

neweb

New Zenner

Join Date:
May 2008
Posts:
17
Plugin Contributions:
0

Change Weight from lbs to kg

I have done this before but for the life of me I can't find it now on my new project.

I want to change from lbs to kg.

Where can I find this. I think its in the admin section somewhere but I just can't find it.

24 Sep 2009, 9:45 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change Weight from lbs to kg

No. It's in your language files. Zen Cart has no internal understanding of different weight ranges. They're just labels defined in the language files to put next to the numbers that enter as weights.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

24 Sep 2009, 10:51 AM
#3
neweb avatar

neweb

New Zenner

Join Date:
May 2008
Posts:
17
Plugin Contributions:
0

Re: Change Weight from lbs to kg

Thanks,
Found and changed it.

24 Sep 2009, 10:53 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change Weight from lbs to kg

It's been a long time since I've done this, but I believe that it should be changed them.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

31 Jan 2010, 8:07 PM
#5
megetweh avatar

megetweh

New Zenner

Join Date:
Jan 2010
Posts:
27
Plugin Contributions:
0

Re: Change Weight from lbs to kg

kuroi:

It's been a long time since I've done this, but I believe that it should be changed them.

Hi, I wanted to change the shipping weight to say KG instead of lbs. I followed the instruction here:
https://www.zen-cart.com/tutorials/index.php?article=204

However, is there something else that I have to do? I opened the english file, changed both instances and uploaded it. It does show the change from lbs to KG but now whenever I click update cart or check out, I get a blank screen. If I revert the file to the old one with lbs, then it works fine. However I dont want it to say lbs I need it to say KG. Help please. Is there something else I need to change elsewhere?

31 Jan 2010, 8:14 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change Weight from lbs to kg

megetweh:

whenever I click update cart or check out, I get a blank screen.This is almost always because the changes to the language files have introduced a syntax error. There's guidance in the FAQ on tracking it down.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

31 Jan 2010, 8:22 PM
#7
megetweh avatar

megetweh

New Zenner

Join Date:
Jan 2010
Posts:
27
Plugin Contributions:
0

Re: Change Weight from lbs to kg

kuroi:

This is almost always because the changes to the language files have introduced a syntax error. There's guidance in the FAQ on tracking it down.

You were so right. Thanks man.