How do I make some products only available to my state customers without having to put (local customers only please) all over my products?
How do I make some products only available to my state customers without having to put (local customers only please) all over my products?
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!