Limit orders to local zip codes

Highlighted
New Member
2 0 0

Is there any way to limit orders to certain zip codes?

I see this questions has been asked twice before, just curious if anyone has an answer.

 

Thanks!

0 Likes
Highlighted
Shopify Expert
4101 23 372

Can't help but ask. Is this for a certain escort service or gasp? weed dealer? 

Don't slap me.. please.. just gotta know :)

 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes
Highlighted
New Member
2 0 0

Nothing quite that profitable, we just do local delivery to specific zip codes.

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
5711 0 138

I've done this for a bakery before for local delivery type of thing. Basically you need to validate this in the cart before you let the user checkout. I just used jquery validate and a simple form to grab the zip code of the user and compare it to what zips are allowed. http://docs.jquery.com/Plugins/Validation#Example

http://shopifyplus.com ::: http://twitter.com/bacchus
0 Likes
Highlighted
Shopify Expert
4101 23 372

With the caveat that someone could easily submit to checkout with any zipcode they wanted and bypass the simple validation... if that is acceptable risk... that's a great solution.

 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes
Highlighted
New Member
1 0 0

I don't understand where I can set this script. Where can I add the validation to shopify?

0 Likes
Highlighted
New Member
4 0 0

Hi Jamie,

We run a mattress store, and have some restrictions on the pincodes where we can deliver. I was hoping to use this solution to inform my customers in case their location is outside serviceable location.

Can i see any working example of this solution, so that I can show the same to my developer.

 

Appreciate the help

 

Thanks

0 Likes
Highlighted
Highlighted
Shopify Partner
21 0 4

Hey @jpp  ,

 

I hope you are doing well. I know it's 8 years later but would like to let you know that I launched an app last week which kinda does what you are looking for. It doesn't restrict orders but what it does is it makes customers aware of your service area. Do you mind checking it out and see if it fit your needs? More than happy to discuss further if you are looking for more features within same app.

 

https://apps.shopify.com/zip-code-check-waiting-list

 

With this app, merchants can add a popup or homepage section that asks buyers to enter their zip code and validate that delivery is available in their region

 

Apart from functionality you mention, app also helps you collecting customer email addresses from non serviceable zip codes which then could help you to decide your next zip code to launch.

 

d3e7ef92681f5ba8fdf373a48b12ed57.jpgf5f1b9e05a318b0869c3898bad681380.jpg

0 Likes