Post by shoo002 » Sun Sep 06, 2009 10:55 pm

I need to add ml (milliliters) to the weight class can anyone help.

Active Member

Posts

Joined
Sat Jul 04, 2009 9:40 pm


Post by shoo002 » Mon Sep 14, 2009 10:20 pm

I need to add ml (milliliters) to the weight class can anyone help.

Thanks in Advance

Active Member

Posts

Joined
Sat Jul 04, 2009 9:40 pm


Post by Qphoria » Tue Sep 15, 2009 7:19 pm

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

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by ameisez » Wed Jul 21, 2010 5:35 am

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

Newbie

Posts

Joined
Sat Jan 30, 2010 7:45 pm

Post by batameshop » Tue Apr 05, 2011 2:28 am

me too!

Newbie

Posts

Joined
Mon Apr 04, 2011 9:53 pm

Post by batameshop » Tue Apr 05, 2011 2:30 am

I also need to add ml (milliliters) to the weight class can anyone help.

Regrads

Newbie

Posts

Joined
Mon Apr 04, 2011 9:53 pm

Post by mberlant » Tue Apr 05, 2011 7:52 am

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.

Please use proper English at all times, so that all members may understand you.


User avatar
Active Member

Posts

Joined
Sun Mar 13, 2011 8:33 pm

Post by mberlant » Tue Apr 05, 2011 8:06 am

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?

Please use proper English at all times, so that all members may understand you.


User avatar
Active Member

Posts

Joined
Sun Mar 13, 2011 8:33 pm

Post by outoftheordinary » Mon Mar 18, 2013 2:17 am

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.

Image

outoftheordinary


New member

Posts

Joined
Sun Nov 18, 2012 11:28 am

Post by Chris_UK » Mon Feb 08, 2016 7:59 pm

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.

New member

Posts

Joined
Wed Jan 20, 2016 4:39 am
Who is online

Users browsing this forum: No registered users and 11 guests