Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    help question How do I configure so my store can only sell to certain US States?

    Since I wasn't sure how to phrase the search phrase (and I tried a couple of different ways first anyhow), I decided to post this here.

    I have a client who will be selling products wholesale to practitioners. They only states they sell to right now are: NC, SC, and GA.

    How do I configure things so only customers in those 3 states are able to make purchases?

  2. #2
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: How do I configure so my store can only sell to certain US States?

    Also meant to say that the client will not be using live shopping rates, but will have a shipping cost matrix in place.

    I think my answer lies in building a zone definition.

    Do I take an existing zone and edit it?
    Or do I make one from scratch - and if so, how?
    I don't see any "add new" type command.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: How do I configure so my store can only sell to certain US States?

    If you're not going to use any addresses outside those 3 states for ANY reason, delete all the other states from your store. Same with countries. Then nobody can ever register with any address outside those areas, and thus can never ask to ship outside those areas.

    Then create zone definnitions to handle your taxes etc within those states.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: How do I configure so my store can only sell to certain US States?

    Thanks, Dr. Bye, for your help. Sorry for the delay in responding.

    Since he's selling to practitioners, it's like wholesale - so no taxes are involved.

    If I delete all the other states, how hard it is to add one or two back in? I think he alluded to the fact that they may be adding more states down the road.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: How do I configure so my store can only sell to certain US States?

    You'd need to manually add them back in by running SQL statements copied from the original install scripts in the /zc_install/sql/ folder.
    If you don't do it that way then you'll end up with states having the wrong zone_id value, and might not sync properly with addon systems.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: How do I configure so my store can only sell to certain US States?

    well, I'm deleting the countries to start with .. and I see an "add country" button, so I'll assume there is one for states too.

    Perhaps in future versions of ZC, instead of just "add" and "delete" if there could be a "deactivate/activate" button ... so people can turn off countries/states without having to delete and add.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: How do I configure so my store can only sell to certain US States?

    There are many things planned for future versions.

    In the meantime, it's recommended to NOT use the "add country" button or any equivalent for "add state". Use the SQL Insert approach I mentioned earlier.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: How do I configure so my store can only sell to certain US States?

    Thank you so very much!

    I understand the instructions for adding them back in if we need to in the future. I'll bookmark this thread for reference.

    Much appreciated!

 

 

Similar Threads

  1. v151 Only display states selection box when from a certain country
    By scrap in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Apr 2013, 01:24 PM
  2. Special Item Shipping Charges Only within Certain States?
    By DCDC in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 19 Dec 2009, 06:51 AM
  3. How can I sell access to certain parts of my site?
    By metroid9824 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 14 Aug 2008, 11:52 PM
  4. Replies: 0
    Last Post: 6 Mar 2008, 05:38 AM
  5. How do I restrict which States can buy from my store?
    By TheMusician in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 3 Jul 2007, 09:03 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