Friday, March 11, 2011

How to Change Product Weight from Pounds (lbs) to Kilograms (kgs) in Zen Cart

Posted by The Wizz | 11:10 PM | 0 comments »

In today's Zen Cart tutorial you will learn how to change the product weight from the imperial system of pounds (lbs) to the metric system (kgs) in Zen Cart. By default Zen Cart is configured for US weights and measures standards rather than the metric system used by much of the world. Fortunately this it is easy to change the product weight into kilograms in Zen Cart by editing just a few files. Please follow the step by step instructions below:

How to Change the Product Weight in Zen Cart from Pounds (lbs) to Kilograms (kgs)

  1. In your Zen Cart store either by FTP or using File Manager edit the following language file

    includes/languages/english.php

    or if you are using a custom template make sure you edit the override file instead rather than the core file

    includes/languages/custom/english.php

  2. Change lbs to kgs by changing the values shown in red:

    • define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');

      to

      define('TEXT_PRODUCT_WEIGHT_UNIT','kgs');

    • define('TEXT_SHIPPING_WEIGHT','lbs');

      to

      define('TEXT_SHIPPING_WEIGHT','kgs');


  3. Remember to save your changes

  4. Also change lbs to kgs by editing the following Zen Cart admin file:

    admin/includes/languages/english.php

    Around Line #574 :
    define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');

    to

    define('TEXT_PRODUCT_WEIGHT_UNIT','kgs');

  5. Save your changes


Once you have made the changes the product weight will now appear in kilograms throughout your Zen Cart ecommerce store.

Related Articles
List of Zen Cart Tutorials



Bookmark and Share


Get regular updates by email or in a reader.
Bookmark and share this post:

Add To Google BookmarksStumble ThisFav This With TechnoratiAdd To Del.icio.usDigg ThisAdd To RedditTwit ThisAdd To Facebook


0 comments »

0 comments

Post a Comment