Hi,
I add three new fields such as carrier type(I set look up with another table), distance and extra charges in sales order form…I want to get extra charges by selecting the carrier type and entering distance manually…can any one help me to write the code to get extra charges.
If this is to work correctly all the way around, then it’s much more than just adding three new fields.
One way where you could create this “semi-automatically” could be to create item (type service) for each carrier, and have the distance be the quantity. But it’s not a simple change.
An alternative would be to find a suitable add-on from one of the many ISV’s. I’m sure there are many solutions which can do that.
Personally I have been using the e-Ship from Lanham, but this is much more than what you requests here, as that solution automatically download the rates from some of the major shipping companies.