Contributions

Shipping Modules (Category Index)
Search: 

TNT Australia Shipping based on postcode

This mod for 2.2 CVS. Current as of July 2004.

It's a modified version of Lloyd Swadling's Toll courier rates. This mod is now for TNT Australia. Changes as follows:

1. Rewritten the entire postcode files to include all current postcodes AND changed all zones to TNT zones

2. Added in an initial consignment charge depending upon what zone goods are being sent to.

3. Changed shipping charge calculation to the following:

total shipping = {[x * (y - 15) + z]*1.10 * a}+ b

where:

x= charge per kilo over 15kg (changed in sql table)
y= total weight (I have deducted 15 kg from this because weight charge is only over 15kg) (total weight derived from product listing)
z= consignment charge (changed in sql table)
a= surchage factor (default 1.1)
b= handling fee (changed in oscommerce admin)
and the 1.10 bit is for GST


You don't need to download any other versions, this version will work by itself.

BUGS:

2. The only big bug I have is in the php file in catalogincludesmodulesshipping. On line 90 I have the equation to calculate the final shipping cost. However if the product weight is LESS than 15kg, you will receive an incorrect shipping calculation (try it yourself in the equation above). Unfortunately my programming skills aren't very good at all so if anyone knows the correct syntax for an IF statement would you be able to help out please? Basically to say the following:

IF product weight (y) is LESS than 15 then perform following equation:

{[z]*1.10 * a}+ b

IF product weight is 15 kg or MORE then perform following equation:

{[x * (y - 15) + z]*1.10 * a}+ b

Expand All / Collapse All

New zone codes findtim 1 Dec 2008

TNT have updated there zone titles, I also found that they moved certain areas/postcodes into different new zones thus making the current SQL's out of date.

BACKUP BACKUP

Only the SQL files included as I simple deleted my old sql from the MySQL and uploaded these.

TNT Brisbane (BNE) Rates pkirbyau 26 Aug 2007
Update to v3 imtservices 6 Jun 2007
TNT Update murray_simon 20 Feb 2006
Alteration for shipping from Tasmania Miles Jordan 26 Apr 2005
TNT Australia Shipping based on postcode V2 Jay Bonaretti 25 Jul 2004
TNT Australia Shipping based on postcode Jay Bonaretti 14 Jul 2004

Note: Contributions are used at own risk.