ZIPSHIP osCommerce shipping/delivery module
3/1/06 by mark enriquez
This module allows you to set a shipping/delivery fee depending upon the ship-to
zipcode in the order. It mimics the current zones.php module in that you can set
up multiple zipcode "zones", each with its own array of charges defined by weight.
This module automatically looks up the zipcode in the order and simply displays
the amount in the checkout_shipping page. It does not currently list the fees; it
only displays to the buyer what the fee will be. Perhaps this will be modified in
the future to allow a page that displays all the possible delivery fees. MODULE INTEGRATES INTO 2.2 WITHOUT ANY EXISTING CODE MODIFICATIONS.
Thanks to everyone involved in this project...any contribution that I make is only
possible because I am standing on the shoulders of the giants who have created this
fantastic OS cart. Please, consider giving back to the project through the
various channels!!
- mark
Legend: 
Download

Report
I have modified this module for uk postcodes. It should also still work for zipcodes too.
Basically I have hard coded a '^' in front of each postcode entry and I have also added a zone selector so that you can limit your postcodes to only a UK zone.
What does this mean:
You enter: IV40, IV41, IV42
The system sees:
^IV40, ^IV41, ^IV42
In Regular Expression ^ basically means look at the start of the string i.e. the start of the postcode. It works for me but please test yourself.
Full package - backup first!
If you are needing to utilize this module for only a handful of zip codes, but want a rate for all other zip codes not defined; set the first zone as '.....' without the quotes then set the rest of your zones. Basically, this creates all zip codes with the initial rate, but as it goes through the rest of the zones, it will determine to adjust the rate down the line.
ZIPSHIP v3 - Canadian Postal Code Help - for osCommerce zipcode shipping/delivery module
Here is a link to a 130 page pdf map from Canada Post that shows all the first three characters of postal codes for all specific regions of all provinces. Very helpful if you are using version 3.0 or higher of the zipcode shipping/delivery contribution.
You can select exactly what rate for each area. Took me quite awhile to find this map.
Hope it helps.
http://www.canadapost.ca/common/tools/pg/fsamaps/pdf/Canada.pdf
file is the same text
30/08/2007 Rod
fixed num_zones bug that was causing errors to be displayed.
Stand-alone update...all bug fixes and files are included in this release.
REGEX NOW SUPPORTED! Due to popular demand, I've modified the code to allow cart
users to specify parts of zipcodes to set shipping rates to, using Regular Expression (REGEX) matching conventions. For a quick primer on REGEX, look here...
http://regexlib.com/CheatSheet.aspx
This should allow unlimited control on setting postcode-based "zones" for your cart.
The most obvious use is to use the first few characters of the post/zip code (DO NOT
USE THE * CHARACTER!! THIS WILL MESS UP THE REGEX EVALUATOR!!!) that you want to match.
USAGE
BE CAREFUL TO USE THE MORE EXACT MATCHES IN THE HIGHER ZONES! This is a crucial part of using this mod...if you use "329" in, say Zone 4, and try to use "3294" in Zone 3, THE PROGRAM WILL MATCH ALL 3294* post codes to ZONE 4 BEFORE matching it to 3294 in ZONE 3!!
In general, be careful where to place your substring match characters, and DO NOT USE the * character. I am pretty sure that and properly formed regular expression strings will be evaluated correctly by my program, but to test your REGEX, go here...
http://regexlib.com/RETester.aspx
..and play with your ideas. If they work there, they will work in your cart.
Sorry, I accidently based the last fix off the older code, ignore the first zipship_2.zip and use this one instead.
This is just a fix for returning the correct message when the shipping address is not one of the zipcodes you have defined for this module. All credit goes to the original authors, this is just a simple fix.
Before it was returning the sql error instead of 'No delivery/shipping available to the selected zipcode.'
Found out handling fee was not calculated properly. Gret contribution - really a must ! Credit goes to author, this is merely a little fix.
Note: only one file is in this package: include/modules/shipping/zipship.php
You will need previous contribution and overwrite the appropiate file.
ZIPSHIP osCommerce shipping/delivery module
3/1/06 by mark enriquez
This module allows you to set a shipping/delivery fee depending upon the ship-to
zipcode in the order. It mimics the current zones.php module in that you can set
up multiple zipcode "zones", each with its own array of charges defined by weight.
This module automatically looks up the zipcode in the order and simply displays
the amount in the checkout_shipping page. It does not currently list the fees; it
only displays to the buyer what the fee will be. Perhaps this will be modified in
the future to allow a page that displays all the possible delivery fees. MODULE INTEGRATES INTO 2.2 WITHOUT ANY EXISTING CODE MODIFICATIONS.
Thanks to everyone involved in this project...any contribution that I make is only
possible because I am standing on the shoulders of the giants who have created this
fantastic OS cart. Please, consider giving back to the project through the
various channels!!
- mark