nicolas wrote: You don't need to install anything.
Go in System->Shipping methods and click on "manual shipping methods plugin". Then, create one shipping method per weight range and enter the price for the price range.
Then, the system will pick automatically the correct shipping method based on the total weight.
I know this, but this is not a good solution. I need to allow for up to 10 Tons of shipping. If I was to enter a shipping range for every 20kg between 1kg and 10,000kg I would have to enter 500 manual shipping ranges (eg. 1 - 20kg, 20.001 to 40kg etc). Then, if I need to change the shipping rate I need to change all 500, that would not be fun
So, back to my original post, I was told that I might need to install a module, where are these extra modules? What is available? I am getting to the point where I might even pay someone to create a module which lets me put an amount to charge per block of weight (eg. get total weight, find how many times 20KG divides in to it, then charge per 20KG lot.
Or even a module that would simply get the total weight and charge per kg in total (eg. $0.50 per KG).
Regarding the PHP code for the cart, thanks for that
That should do the trick.
Michael A.