VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Shipping Modules => Topic started by: newuser on April 04, 2007, 04:15:23 AM

Title: Create own shipping module or shipping rate calculation?
Post by: newuser on April 04, 2007, 04:15:23 AM
CountryFIRST 500GMNEXT 500GMMax Weight
ARGENTINA67.0023.00 20
AUSTRALIA43.0014.00Not Limit

I have a shipping rate calculation based on the table content shown in above,
initial fee will be charged for first 500gm, and  extra charge will be added in total charge with each 500gm more.

So the mathematic logic is:

For instance(according to the mentioned table content)
Country = Australia
Weight = 1450gm or 1.4kg
So the total charge will be 43+14+14= $71.
Notice: the max weight is unlimited (looping logic required?).

My question is how do I create the shipping module based on the mentioned logic?

I am a newbie of using virtuemart, sorry for my poor english, thanks:)