osHelpers - Help for your osCommerce store
 
Google Base Feed Germany
iFrame Defender v1.2
oscommerce Seo
  Seo Pack 2
  SE Friendly URLs
  Session ID Removal
  Title and Meta Tags
  Google Sitemap
Magnum Shopping Cart
  Magnum MVS 8.4 Basic
osCommerce Services
  osc / cre patch
  Data Entry
  Data Extraction
  bugs and fixing
  Site Transfer
  creloaded Transfer
  Design Special
  Hosting
osCommerce Templates
osCommerce Contributions
  Credit Modules
  Features
  Images
  InfoBoxes
  Languages
  Order Total Modules
  Other
  Payment Modules
  Reports
  Shipping Modules
  Templates/Themes
  Zones
osCommerce Articles
osCommerce Tutorials
  Installing osCommerce
  Configuring your store
  Adding categories
  Adding products
  Adding product attributes
  Configuring currency
  Adding payment modules
  Adding shipping modules
  Configuring sales tax
  Editing your home page
  Editing columns
  Editing header and footer
  Creating specials
  Managing customers
  Sending out a newsletter
  Sending out email
  Managing your banners
  Backup database
CRELoaded Tutorials
  Add Administrators
  Add Article Author
  Additional Images
  Create a New Page
  Define Mainpage
  Disable cc Encryption
  Disable Company Field
  Disable Country
  Disable Date of Birth
  Display broken images
  Easypopulate Export
  Email confirmation
  Insert Faq
  Max Package Weight
  Require Terms of Use
  Affiliate Newsletter
  Enable Cache
CB Power Affiliate
Tell A Friend
 

Tell someone you know about this product.

   OSHELPERS | OSCOMMERCE CONTRIBUTIONS | SHIPPING MODULES | 2266   


oscommerce TNTAustraliaShippingbasedonpostcode
[2266]
 
 
box_bg_l.gif.
"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"

 


For more information, visit the official osCommerce contribution webpage.
box_bg_r.gif.
 

osHelpers

osHelpers