Hello,

I have created a feature that auto-fills any address block with City, State/Province, and Country based on a user entered value for the zip/postal code. This feature helps eliminate the problems in situations where the users enters an incorrect or mismatching zip or postal code to a City or State/Province value that is correct, or where the user enters a correct zip/postal code but does not change the default value of the State/Province dropdown which is 'AA Armed Forces'. This mismatch leads to problems when posted to payment gateways/authorizers or on shipping.

The feature is activated on any Address form (public or Admin side) when a user enters a value into the Zip/Postal Code textbox. The user entered value is sent back to the site via AJAX and if it is valid, returns with the values for City, State/Province, and Country, which is then filled into their respective form fields (textbox for City, dropdowns for State/Province and Country). If the value is invalid, a message is presented.

The feature takes into consideration if the address is in an Add or Edit form. In an Add form, the feature clears out the default dropdown values.

The implementation of this feature is done via custom development/programming and is not a plug-in. The coding includes modification to the base NopCommerce classes in C# code, to about 15-20 .cshtml files, a Javascript file, and an import of an Excel file into a table in the SQL database. The deployment includes the upload of the .cshtml files, the Javascript file, as well as replacement versions of the base NopCommerce DLLs (Nop.Core, Nop.Data, Nop.Web, etc).

The pricing will range depending on whether the site uses the default NopCommerce source code or needs to have the feature applied to code that already has been custom/modified, whether the client wants support for other countries, to the version of NopCommerce.

Currently, the feature supports NopCommerce 3.4 and for US and Canadian zip/postal codes. I can port it to other versions but that will be custom work. Support for other countries can be done if a table, list or csv of that country's zip/postal codes can be obtained.

If you are interested or have questions, just let me know.

Best Regards,

NB