Thread: Lbs to Grams?

Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Posts
    25
    Plugin Contributions
    0

    Default Lbs to Grams?

    Hi everyone! Thanks for all the help youve given me these few days.
    My cart is all ready to be shown to the public today! I only have one other bug I can't figure out.

    I typed in all my weights in grams. But it says "lbs" everywhere! How can I change this lbs to grams? I also searched for "lb" in the Developer's Kit and found one page where I changed lb(s) to g., but it didnt do a dang thing. Help!

  2. #2
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Lbs to Grams?

    includes\languages\english.php

    Line 393: define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
    Line 396: define('TEXT_SHIPPING_WEIGHT','lbs');
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  3. #3
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Lbs to Grams?

    You might also want to change it in the admin:

    admin\includes\languages\english.php
    Line 570: define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  4. #4
    Join Date
    Nov 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Lbs to Grams?

    It worked - thank you so much!

  5. #5
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Lbs to Grams?

    Just be aware that some of the European oriented shipping modules assume that the weight is in kilograms, which leads to some eye-watering shipping charges when they assume 300g is 300kg.

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Lbs to Grams?

    Please be aware that if you change includes\languages\english.php, your changes will be lost with the next upgrade/update. You should save the changes to includes\languages\YOUR_TEMPATE\english.php.

    As for the admin files, there is no override currently, but that doesn't stop you from creating the folders/files for future reference.

 

 

Similar Threads

  1. setting weight on products as grams not lbs
    By thegoodgift in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 15 Apr 2013, 06:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg