Woocommerce – Converting grams to kilograms ( product weights)

If your using product weights in Woocommerce, you might find you want to change from grams to kilograms at some stage.

There are 2 parts to this:

Part 1:

Firstly in wp-admin you need to change a setting on the Woocommerce (below).

However this doesn’t automatically convert grams to kilograms.

convert from grams to kilograms setting

Part 2:

Converting existing products grams to kilograms.

For this you’ll need to use a little script, I created this one as a page template.



5 thoughts on “Woocommerce – Converting grams to kilograms ( product weights)”

  1. That helped me so much my friend!! You saved me so much time. I was searching for something like this for some hours now.

    Great work!! Thank you so much!!


Leave a Comment