amishraval Posted May 4, 2015 Share Posted May 4, 2015 Hello Folks In my address template , I would like to validate user entered zip code with existing zip codes. I am delivering products in specific area on one city only. So I want to add all zip codes in code/DB where I am delivering and when user enters another Zip code , it should prompt that Delivery is not available in your area. Please help Link to comment Share on other sites More sharing options...
tomerg3 Posted May 4, 2015 Share Posted May 4, 2015 You can try to override the zip code validation function in the Validation.php class. A simpler option would be to use this module https://www.prestashop.com/forums/topic/148747-module-localized-shipping-set-shipping-rates-by-country-state-or-zipcode-range-or-wildcard/ as you can assign shipping only to certain zip code, and all other would not return a shipping option, 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