Jump to content

Need help on how to change the default product weight


Mrfish8
 Share

Recommended Posts

  • 11 months later...
On 9/26/2020 at 11:36 PM, bsmither said:

Welcome MrFish! Glad to see you made it to the forums.

In admin, Store Settings, Stock tab, please choose "Imperial (lb)" for Weight Unit.

 

I want to change or add gram scale instead of KG, how can I do that Please?

Link to comment
Share on other sites

In the admin script file /sources/settings.index.inc.php:

Near line 450, 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'], 'Kg' => $lang['settings']['weight_unit_kg'], 'g' => "Metric (g)"),

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...