Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jun 2009
    Posts
    2
    Plugin Contributions
    0

    Default Disable sales to a specific state

    I'm looking for a way to disable sales for only one product since it cannot be sold in that state. Any help would be appreciated.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Disable sales to a specific state

    You could customize the Add to Cart based on the customer's address ...

    However a few thoughts ...

    You want to stop sales to a specific state ... is this based on billing or shipping?

    Do you want to allow Grandma in Ohio, assume for the moment that is the state not allowed to have the product, be able to buy it, but ship it to little Tiny Tim in New York, assuming the block is on shipping address and New York is okay?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jun 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Disable sales to a specific state

    Thanks for your response. I would like not to allow shipping for 1 specific product to 1 specific state (CA).

    Could you be more specific regarding customizing the add to cart button to accomplish this? Thanks in advance.

    Quote Originally Posted by Ajeh View Post
    You could customize the Add to Cart based on the customer's address ...

    However a few thoughts ...

    You want to stop sales to a specific state ... is this based on billing or shipping?

    Do you want to allow Grandma in Ohio, assume for the moment that is the state not allowed to have the product, be able to buy it, but ship it to little Tiny Tim in New York, assuming the block is on shipping address and New York is okay?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Disable sales to a specific state

    If you just wanted to control this based on Add to Cart, the customer would have to be logged in and you would be checking their Primary Address ...

    That means that someone from California could not add it to the cart and then ship it to New York as the "control" over the Add to Cart is happening too early ...

    If you want to control it based on the shipping address, then anyone can add the Product to the cart but only when the shipping address is "not California" can they get past the shipping page ...

    This lets someone in California ship the product to someone in New York ...

    So you need to decide what kind of control do you want on the Product ...

    1 at the Add to Cart stage

    2 at the Checkout Shipping stage

    It sounds like you want to stop the order at the checkout_shipping if the product is in the cart and if the customer has a California address ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Oct 2009
    Posts
    38
    Plugin Contributions
    0

    Default Re: Disable sales to a specific state

    Quote Originally Posted by Ajeh View Post
    If you just wanted to control this based on Add to Cart, the customer would have to be logged in and you would be checking their Primary Address ...

    That means that someone from California could not add it to the cart and then ship it to New York as the "control" over the Add to Cart is happening too early ...

    If you want to control it based on the shipping address, then anyone can add the Product to the cart but only when the shipping address is "not California" can they get past the shipping page ...

    This lets someone in California ship the product to someone in New York ...

    So you need to decide what kind of control do you want on the Product ...

    1 at the Add to Cart stage

    2 at the Checkout Shipping stage

    It sounds like you want to stop the order at the checkout_shipping if the product is in the cart and if the customer has a California address ...
    This ties in with the 48 states free shipping you already helped me with, but how can I block all orders from being shipped to the other two states based on option "2 at the Checkout Shipping stage"

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Disable sales to a specific state

    If you have only the 48 states defined in your Zone for your shipping module(s) then the other 2 states cannot be shipped to ...

    If for some reason you cannot take payments from those 2 states either, then add the same Zone to your Payment module(s) ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Oct 2009
    Posts
    38
    Plugin Contributions
    0

    Default Re: Disable sales to a specific state

    Great. Thanks!

  8. #8
    Join Date
    Apr 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Disable sales to a specific state

    When I tried to do this, it just has fields for countries. What if I ship only to U.S. but I need to block shipping to a certain state? Where you put this in the zone module?

    Quote Originally Posted by Ajeh View Post
    If you have only the 48 states defined in your Zone for your shipping module(s) then the other 2 states cannot be shipped to ...

    If for some reason you cannot take payments from those 2 states either, then add the same Zone to your Payment module(s) ...

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Disable sales to a specific state

    Look in the Free Software Add Ons for Zone Table where you can define the Zone with the Zone Definitions ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Apr 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Disable sales to a specific state

    Quote Originally Posted by Ajeh View Post
    Look in the Free Software Add Ons for Zone Table where you can define the Zone with the Zone Definitions ...
    Are you referring to this? http://www.zen-cart.com/index.php?ma...roducts_id=695

    I don't need shipping rates for any states I just need to block shipping to one state.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Sales tax included in Out of state sales
    By kb9k in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 19 Feb 2011, 11:22 PM
  2. Sales tax is being calculated into product price. Just need it for a specific state
    By Inudat1966 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 8
    Last Post: 30 Aug 2010, 03:05 PM
  3. Charging State sales tax only to those who reside in the state
    By mooncavecrystals in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 7 Feb 2010, 07:39 AM
  4. Replies: 5
    Last Post: 25 Sep 2009, 09:48 PM
  5. Disable a Specific Sidebox on Just One Specific EZPage
    By limelites in forum Basic Configuration
    Replies: 1
    Last Post: 23 Feb 2009, 03:22 AM

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