The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Restricting Zip Codes on the Checkout page

davidzupecdavidzupec Member
in Help edited May 2014
Hello, I had seen that you're able to restrict by states but can you also restrict by zip codes on checkout? My client wants to be able to only ship to some specific zip codes in the Hampton, NY.

Thank you!
  • fc_adamfc_adam FoxyCart Team

    Yes, you can - but it requires some custom javascript on your checkout. Basically what you'd do is add a jQuery onchange event to the postcode fields, and if it matches one that isn't allowed, clear it out and display an error to the customer.
Sign In or Register to comment.