Forums / Setting Up Categories, Products, Attributes / Making spacific items not avaialble to outside state customers

Making spacific items not avaialble to outside state customers

Started by lilguppy on 11 Feb 2010, 5:26 PM · Views: 610

Results 1 to 2 of 2
11 Feb 2010, 5:26 PM
#1
lilguppy avatar

lilguppy

New Zenner

Join Date:
Jan 2010
Posts:
96
Plugin Contributions:
0

Making spacific items not avaialble to outside state customers

How do I make some products only available to my state customers without having to put (local customers only please) all over my products?

11 Feb 2010, 5:47 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Making spacific items not avaialble to outside state customers

You could add a new field to the products table:
products_is_local

and when set to 1 the shopping_cart and test, if the customer is logged in, if they are local ...

Then add the same test to the checkout_shipping to prevent checkout when the shipping address is not local ...

Customize the Admin to allow you to add/edit the new field ...

It takes a bit of work ... but it can be done ...

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!