siomosp Posted February 15, 2022 Share Posted February 15, 2022 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 Link to comment Share on other sites More sharing options...
Ress Posted February 20, 2022 Share Posted February 20, 2022 You could do this check in the checkZipCode method of the Country class. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now