Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    3
    Plugin Contributions
    0

    Default Restrict Customer Registration Based on Zip Code

    Hello All:

    I am attempting to use Zen-Cart for a local-only business. As a local-only business, I need to restrict the geographic area of the potential customer. I would like to do this through the registration process, by simply not letting those outside the zip codes that I serve create an account. Thus far in my searches, I have not been able to find out how to restrict customer registration at all, much less by zip code. How would one go about this?

    I do like the look and feel of Zen-Cart very much. I think it could be a good solution for this project. However, I am all-ears if there is something anyone thinks would work better.


    Thank you,
    Steve

  2. #2
    Join Date
    Mar 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Restrict Customer Registration Based on Zip Code

    Perhaps this information can be found in the manual? I would gladly purchase it if I knew that, but surely you can understand my apprehension. This may not even be the right product for what I am trying to do. I chose it because of the flexibility, cost, and open-source nature.

    I assume customers are entered into the ZenCart database. Is it possible to simply put a restriction on the field in the database from a client?


    Any and all help is appreciated,
    Steve

  3. #3
    Join Date
    Mar 2004
    Posts
    688
    Plugin Contributions
    0

    Default Re: Restrict Customer Registration Based on Zip Code

    You could simply use a javascript where they put their zip code in and it either sends them to the create account page or, if it's a wrong zip code, sends them to a page explaining that you don't service that area.

    How many area codes are you talking about?

  4. #4
    Join Date
    Mar 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Restrict Customer Registration Based on Zip Code

    Thank you for the reply. This sounds like a very intriguing solution.

    I assume javascript does not bring up any security certificate errors in most browsers? I know that firefox has an extension that blocks all scripts, but many users would not have this installed.

    Currently the "Create Account" page is the default; it requests 12 fields to be filled out before submitting. I am generally a fan of creating an account one one-screen, but it is quite aggravating when there is an error and everything is lost. Is it possible to put an EZ-page, or something similar, between the "Create Account" link and the default page? Ideally, this page would check the validity of your zip code and present the outcomes you have described.

    Currently there are 12 zip codes.



    Steve

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Restrict Customer Registration Based on Zip Code

    This guy figured out something like what you want - you might PM him and ask about it.

    http://www.zen-cart.com/forum/showthread.php?t=85303

 

 

Similar Threads

  1. v153 Restrict Store Pickup to City or Zip Code Radius?
    By fabburl in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Jun 2015, 11:52 PM
  2. how to make a specific zip code required for registration?
    By igofresh in forum Managing Customers and Orders
    Replies: 4
    Last Post: 8 Nov 2010, 07:12 PM
  3. Optional zip code for non-US customer registration
    By andrewcklau in forum Managing Customers and Orders
    Replies: 0
    Last Post: 10 Mar 2010, 09:19 AM
  4. Shipping Based on Zip Code
    By rwoody in forum Addon Shipping Modules
    Replies: 18
    Last Post: 19 May 2007, 05:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg