Closed alexjamesmalcolm closed 6 years ago
Should be swapped with an input, and if they enter the wrong zip code, redirect to their food pantry.
I have a branch that will fix the initial comment to this issue. The second comment seems like a feature for a network of food pantries that doesn't exist yet. I'll be submitting the PR for the first comment however. The second comment, changing the form element to an input and having it redirect seems a bit future feature. I could add a 'checker' class to check the zipcode against a whitelist of zipcodes before passing onto the order form. Before I do that, maybe we open another issue?
That sounds like a great idea! I'll open a feature issue for the second comment.
Is this still an issue?
This was fixed by #146
The other zip code should send the user to a page that lets them know that they aren't in a zip code that's supported by the food pantry. Currently, it just lets the user pass to the shopping view.