Postcode auto fill Part 1
Postcode auto fill is a plugin that autofill state, city and if available street address fields in a form when you enter postal/zip code. An ajax request and JavaScript make this possible on the fly without submitting the form. It uses extra tables with postal codes data for one country at a time. It will be available in login page, address edit page and checkout create address page. Please have a look at readme file for installation details. Part 2 (additional data): https://www.zen-cart.com/downloads.php?do=file&id=2372 |
Version History
Postcode auto fill Part 1 - Version: 1.3.1 | |||||||||||
Fixes bug with Japanese postal codes files. Part2 does not need to be updated, please use with part 2 v1.3 |
|||||||||||
|
|||||||||||
Postcode auto fill Part 1 - Version: 1.3 | |||||||||||
Updated both PHP code and SQL install queries to be independent of country id number in database. ISO 3 letters code is used instead. French database data were updated to add accentuated letters on city names. Unfortunately French Post dataset does not have them... Don't forget to download part 2 too. |
|||||||||||
|
|||||||||||
Postcode auto fill Part 1 - Version: 1.2 | |||||||||||
IMPORTANT! This release was too big and had to be separate in two parts. This is only part 1. Part 2 contains extra data for US, Japan and Austria postal codes. Updated to includes ten countries data, mainly countries for which Zen Cart has default zones setup: United States, Spain, Germany, Italy, Swiss, Liechtenstein (included with Swiss), Austria, Australia, France and its territories and Japan. I found error in zones table for Italy, Austria and Swiss. Please run respective SQL files (zones....sql) first to correct them. If you don't, you might have wrong zone id associations between tables in database. Database/table collations have been changed to accent and case sensitive ones so sorting or indexing works properly. Before, accented letter or not were considered identical which is a problem for some Swiss hamlet names which only difference is between u and ü. The only country that has zones defined by default in Zen Cart but is not included and won't be is Canada because of its very protected complex postal code system. The only available open source data contains half of postal code... useless. More detailed data sets are not free to distribute. |
|||||||||||
|
|||||||||||
Postcode auto fill Part 1 - Version: 1.1 | |||||||||||
Japanese database has been updated, names are both in Japanese characters and alphabet. All databases data have been cleaned up. SQL query in AJAX file now uses parameters to have better protection against SQL injection attacks. |
|||||||||||
|
|||||||||||
Postcode auto fill Part 1 - Version: 1.0 | |||||||||||
Postcode auto fill is a plugin that autofill state, city and if available street address fields in a form when you enter postal/zip code. An ajax request and JavaScript make this possible on the fly without submitting the form. It uses extra tables with postal codes data for one country at a time. It will be available in login page, address edit page and checkout create address page. Please have a look at readme file for installation details. |
|||||||||||
|
|||||||||||