Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the weight symbol from lb to kg


Guest

Recommended Posts

Posted

I need to change the weight symbol to kilos (kg) instead of pounds (lb)

 

I have looked through a few of the PHP files that link to either the shipping modules and catalog to see if I could find anything. Obviously I found nothing or missed what I was looking for.

 

If any know how to change it, any help is appreciated.

 

Cheers.

Posted

Which shipping are You using.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
Which shipping are You using.

 

Satish

 

Hi Satish,

 

I am using the add-on 'Zone Based Express Shipping Rates'

 

Thanks for your help...

Posted

If anybody else is wondering how to change the the weight from lb(s) to kg(s) or visa versa it very simple

 

Go to catalog/includes/languages/english/modules/shipping and open the PHP file ie. zones.php

 

This is from the zones.php file (Actually, its the whole file)

 

The bit to change is in Bold

 

define('MODULE_SHIPPING_ZONES_TEXT_TITLE', 'Zone Based Shipping Rates');

define('MODULE_SHIPPING_ZONES_TEXT_DESCRIPTION', 'Zone Based Rates');

define('MODULE_SHIPPING_ZONES_TEXT_WAY', 'Ground'); //no longer used

define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'kg(s)');

define('MODULE_SHIPPING_ZONES_INVALID_ZONE', 'No shipping available to the selected country');

define('MODULE_SHIPPING_ZONES_UNDEFINED_RATE', 'The shipping rate cannot be determined at this time');

 

 

I hope this helps others who need to change the how the weight looks in the checkout

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...