Page 1 of 1
adding milliliters to the weight class
Posted: Sun Sep 06, 2009 10:55 pm
by shoo002
I need to add ml (milliliters) to the weight class can anyone help.
add ml (milliliters) to the weight
Posted: Mon Sep 14, 2009 10:20 pm
by shoo002
I need to add ml (milliliters) to the weight class can anyone help.
Thanks in Advance
Re: add ml (milliliters) to the weight
Posted: Tue Sep 15, 2009 7:19 pm
by Qphoria
If you goto the admin page
Configuration->Localisation->Weight Class
You can insert a new one there. Then for each conversion field, google the equivalent 1ml to 1kg, 1g, 1lb, 1oz
Re: add ml (milliliters) to the weight
Posted: Wed Jul 21, 2010 5:35 am
by ameisez
It's hard to find a convertion from ml to kg becasue ml is unit for volume while kg is for mass.
anyone have any decent solution for this? Google can't seem to convert it.
thanks
Re: adding milliliters to the weight class
Posted: Tue Apr 05, 2011 2:28 am
by batameshop
me too!
Re: add ml (milliliters) to the weight
Posted: Tue Apr 05, 2011 2:30 am
by batameshop
I also need to add ml (milliliters) to the weight class can anyone help.
Regrads
Re: adding milliliters to the weight class
Posted: Tue Apr 05, 2011 7:52 am
by mberlant
I am confused as to how putting a unit of volume measurement into the weight class would yield any benefit to the store.
How will your shipping module learn how many milliliters of Product A make up one kilogram of weight? If Product A is 500ml per kg and Product B is 1000ml per kg, how can your shipping module know how to make that calculation?
Or, are you trying to accomplish a method of giving flexibility to the dimensional aspect of the shipping module, and you recognize that a liter is not always a perfect 100x100x100mm cube?
It is hard to tell what you really need from your short description. Please describe your goal in a little more detail.
Re: add ml (milliliters) to the weight
Posted: Tue Apr 05, 2011 8:06 am
by mberlant
Why are there two threads on this one topic?
It is not possible to convert a measure of volume into a measure of weight because each product has a different mass (the ratio of volume to weight).
What if you were selling both water and gasoline on your web site? One ml of water weighs one gram; 1 liter of water weighs one kilogram. One ml of gasoline weighs .68 grams; 1 liter of gasoline weighs 680 grams. You have a customer who purchases 10l of water and 10l of gasoline. How would you calculate the shipping charge? You have sold 20 liters of product. What information do you give to your shipping company?
What is it that the OP truly needs to accomplish?
Re: add ml (milliliters) to the weight
Posted: Mon Mar 18, 2013 2:17 am
by outoftheordinary
1kg to 1ml = 1000 and 1kg to 1g = 1000
I have products in grams (g) and milliliter (ml). How can I make this work in weight based shipping (kg)?
I try to buy products in grams and milliliter. But when I visit the shopping cart page, the weight can't identify the equivalent of two products.

Re: add ml (milliliters) to the weight
Posted: Mon Feb 08, 2016 7:59 pm
by Chris_UK
This won't work for you, you would need to find an extension that adds in volume to the system. Converting weight to volume will only work for known weights, EG it is commonly accepted that 1l (1000ml) of water is roughly 1kg in weight. The problem is not all volumes will add up to the same weight so you need to have ml as an extra field and add the weights as normal.
In my case i need ml and also mm in diameter as these are two of the key factors for my products neither of these are currently available within the current system.
I suspect they would have to be an additional module because for shipping you need two things, the weight and where restricted by volume, the package dimensions. (Note that OC also does not support tubes which for Royal Mail is length limited but also takes into account the diameter.
Re: add ml (milliliters) to the weight
Posted: Wed Dec 16, 2020 10:07 pm
by jacklien