Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2006
    Location
    Manchester
    Posts
    138
    Plugin Contributions
    1

    Default Change displayed weight from lbs to kilos, or tons, etc?

    If weight is displayed the default appears to be pounds, so how do I switch to an alternative weight standard, or will I have to edit one of the files?

    "Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Change displayed weight from lbs to kilos, or tons, etc?

    using browser go to admin-> tools-> developers toolkit

    in the last box on the left type in Lbs then tell it to search catalog/admin

    this will give you a list of files and line numbers where this needs to be changed
    Mark
    Hare Do

  3. #3
    Join Date
    Jul 2006
    Location
    Manchester
    Posts
    138
    Plugin Contributions
    1

    Default Re: Change displayed weight from lbs to kilos, or tons, etc?

    Quote Originally Posted by haredo View Post
    using browser go to admin-> tools-> developers toolkit

    in the last box on the left type in Lbs then tell it to search catalog/admin

    this will give you a list of files and line numbers where this needs to be changed
    Damn! And I thought it would be a simple switch somewhere in Admin. that I'd missed.

    Oh well, give my eyes a rest for a few hours then back to the strain.

    "Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Change displayed weight from lbs to kilos, or tons, etc?


  5. #5
    Join Date
    Oct 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Change displayed weight from lbs to kilos, or tons, etc?

    Quote Originally Posted by stevesh View Post
    hi just a quick note that this article is missing some info when you search using "lbs" it misses the file

    /includes/languages/english/modules/shipping/zones.php

    Line #25 : define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'lb(s)');
    ---------------------------------------------------------------
    Re: Changing Weight from Pounds to Kilos
    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

  6. #6
    Join Date
    Jul 2006
    Location
    Manchester
    Posts
    138
    Plugin Contributions
    1

    Default Re: Change displayed weight from lbs to kilos, or tons, etc?

    Quote Originally Posted by cybeme View Post
    hi just a quick note that this article is missing some info when you search using "lbs" it misses the file

    /includes/languages/english/modules/shipping/zones.php

    Line #25 : define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'lb(s)');
    ---------------------------------------------------------------
    Thanks for that. Will keep editing.

    "Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

 

 

Similar Threads

  1. Change Weight from lbs to kg
    By neweb in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 31 Jan 2010, 09:22 PM
  2. Can I change weight from lbs to oz?
    By ams30gts in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 22 May 2009, 07:49 PM
  3. How to change weight from lbs to kg
    By sacotechnology in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 6 May 2008, 02:32 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR