LindaAtl Posted December 6, 2005 Posted December 6, 2005 The site I'm working on has several products which are not approved to be sold in every state in the U.S. Is there a way to prevent certain ship to states from being able to make a purchase of some, not all items, being offered? Thanks, Linda
♥Vger Posted December 6, 2005 Posted December 6, 2005 Quick answer is "No". You could prevent people from some States from buying any of your products, but to prevent people from some States being able to buy just some of your products is a tall order. The best you can do is to make it clear on your site (possibly in the Product Description) that "This product cannot be shipped to people living in the following States: blah, blah, blah". Vger
AlanR Posted December 6, 2005 Posted December 6, 2005 You could create another table in the db, call it states, load it up. Make one column 'allowed'. Then test to see if the product is allowed in the state the customer is from. It's not a trivial job though. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
ogredude Posted December 6, 2005 Posted December 6, 2005 okay, so how do we prevent people in certain states from ordering any of our products? And for that matter, how do we prevent people outside the US from ordering any of our products? Inquiring minds want to know...
♥Vger Posted December 6, 2005 Posted December 6, 2005 As Alan said "it's not a trivial job", and when I said "No" I should have said "Not without custom coding". So, the answer to your question is that you find a php coding expert and pay them to write the mod for you. Vger
AlanR Posted December 6, 2005 Posted December 6, 2005 okay, so how do we prevent people in certain states from ordering any of our products? And for that matter, how do we prevent people outside the US from ordering any of our products? Inquiring minds want to know... Countries == Easy http://www.oscommerce.com/forums/index.php?showtopic=23376 States != Easy ;) I guess another approach would be to define special tax zones and disallow purchases within certain prohibited zones. Still not so easy. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Guest Posted December 7, 2005 Posted December 7, 2005 you could prevent certain states from buying ANY of your products by removing that state from your store. This will prevent them from getting through the checkout process. We do this for Alaska and Hawaii as these states require additional shipping fee's.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.