WooCommerce Postcode Validator lets you validate Dutch postcodes and auto-fill the address and city for the filled in postcode. This is achieved by using the BAG / LocatieServer API.
NOTE: This plugin depends on the LocatieServer API from PDOK: https://www.pdok.nl/nl/producten/pdok-locatieserver This API enables the plugin to find and validate postcodes and find the corresponding address and city name for The Netherlands.
- Validate the filled in postal code for Dutch orders, and auto-fill the street name and city.
Search for "WooCommerce Postcode Validator" in the "Add new plugin" section in the admin panel, and click "Install now".
- Download the zipfile.
- Extract
woocommerce-postcode-validator
to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
You can modify the loader by overriding the CSS for the input fields, the current loader is being put as a background image for all .woocommerce-billing-fields input.woocommerce-postcode-validator-loading
classes.
- Modified namespacing of functions
- First release