Approached recently to quote for building a shipping module, powered by a CSV file.
The CSV file
Contains 4 pieces of information;
postcode, shipping_cost, amount at which shipping becomes free, courier name
The CSV file can consist of thousands of such entries.
Shipping Module (Shop)
This reads the CSV and outputs the necessary information;
Shipping Module (Admin)
Is pretty much the same as any other shipping module. Other than the store owner can set up a “default” courier, cost etc just in case the postcode cannot be found in the CSV file.
All in all, quite a nice little project!
I’m pretty sure that this will (at some point) make it into the addons area at osCommerce as this client specifically required the files in a format that would allow him to contribute it.
The Cherry on the Cake
How about a little feature in the shopping_cart.php page to show a shipping estimation? Well, that was done as well;
Here you can also see the message that it’s only another $50 or so to get free shipping…
Video in Action