CouchCMS Postal Code Search
A postal code search (store locator) implementation.
- Acquire a postal code database for your country that contains latitude and longitude coordinates. You may find such databases at GeoNames.
- Import the table with
pc
,latitude
, andlongitude
field names. - Go to line 25 of
postal-code.php
and replacepostal_codes
with your chosen table name. - Update the
validator
parameters insearch.php
to reflect the correct format of your postal code.