Jump to content

Zip/ Postal code validation


Recommended Posts

Hi,

i want to check zip / postal code against a table at prestashop database , eg ps_retricted_zips ( manually added)

If the entered code exists at database , a message*  is displayed at customer
If not exist,  no action

Any ideas if/ how it can be done?
PS version  1.7.5
"The Checkout" one page checkout module installed

*example message

Info! 
Your address considered distant, 
please select cod payment , 
or you have to receive the 
parcel from the nearest city


 

postal_alert.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...