You could add a new field to the products table for the products_state and utilize that when a customer is logged in ...
You could control adding to the cart with the function used for the add to cart and buy now buttons:
zen_get_buy_now_qty
by adding an additional test for the new field and handling what button or text gets sent back to any calling program ...
To do something like this, you may want your shop setup so that the customer must be logged in to "buy" ... they can still see everything, but they would not be allowed to add to the cart until they are logged in ...
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!