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 |
![]() |
v2.0.0, v2.1.0 |
![]() |
pilou2 |
![]() |
pilou2 - 5 Apr 2025 |
![]() |
261 |
Version History
Postcode auto fill Part 1 - Version: v2.0.1 | |||||||||||||
Japanese postal codes database updated to March 2025 data. If you do not use these data, you can skip this update. Tested on ZC v2.0.1 and 2.1.0. It should work on v1.5.8 too but a patch for encapsulated plugins might be needed. GitHub link: https://github.com/piloujp/Postcode_auto/tree/v2.0.1 |
|||||||||||||
|
|||||||||||||
Postcode auto fill Part 1 - Version: 2.0.0 | |||||||||||||
New encapsulated version of this plugin for Zen Cart v2.1.0, which means easier to install, update or uninstall. Now renamed "Postal Code Automatic". If you have an older version, please uninstall it, see documentation in _index.html_ file for details. There is no part 2 anymore as the file is smaller and do not need to be split. |
|||||||||||||
|
|||||||||||||
Postcode auto fill Part 1 - Version: 1.4 | |||||||||||||
Some database data and ZC files updates. Last version before the new encapsulated version for ZC v2.1.0 |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||