Jump to content
Sign in to follow this  
jabeckett

change product weight to grams instead of kg

Recommended Posts

hi, im trying to change the units from kg to grams when adding a product as i deal with small gemstones. 

any help would be greatly appreciated.

thanks  

Share this post


Link to post
Share on other sites

In the administration folder /sources/settings.index.inc.php:

Near line 390, find:

'product_weight_unit' => array('Lb' => $lang['settings']['weight_unit_lb'], 'Kg' => $lang['settings']['weight_unit_kg']),

Change to:

'product_weight_unit' => array(
  'Lb' => $lang['settings']['weight_unit_lb'],
  'Oz' => "Imperial (oz)",
  'Kg' => $lang['settings']['weight_unit_kg'],
  'g' => "Metric (g)",
  ),

You will need to mention how you do shipping, as most (all) non-USA shippers want to use "kg" as the weight unit.

Share this post


Link to post
Share on other sites

I have sorted it thank you somehow i missed a close bracket, 

lack of sleep seems to be the issue,

thank you for your help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×