Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

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.