News:

Support the VirtueMart project and become a member

Main Menu

Create own shipping module or shipping rate calculation?

Started by newuser, April 04, 2007, 04:15:23 AM

Previous topic - Next topic

newuser

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:)