Need help to display product weight in Kilograms instead of grams

Hello, I made a website for a client who sell batteries. Those are pretty heavy and it’s weird to display the weight in grams. You and up whith a product with a weight of 12000 gr. The product CMS seems pretty locked, but is there a way to do some custom code magic to show the weight divided buy 1000?

Thanks :slight_smile:


Here is my site Read-Only: [LINK](Webflow - Atomique Batteries)

Hey @Thomas2 :wave:

It looks like you solved your issue!

Just in case someone else is looking for the answer here’s the JS pusedocode

const weightDiv = document.querySelector('[put your query selector here]')
const weight = parseInt(weightDiv.innerHTML);
const newWeight = weight / 100;
weightDiv.innerHTML= newWeight;