gargsuchi Posted February 28, 2006 Share Posted February 28, 2006 Hello all I have added a new field (boolean) to my oscommerce products table. Now what I want is that based on the value of this filed and based on the value of the State of delivery, I need to either enable or disable a certain product in the shopping cart. Basically heres the deal, This new filed has a boolean value. If that value is true for a product and if the user is from certain states, I want to tell the user that this product can not be delivered to your address. How do I do this? Where all do i check for this and how? Any help is appreciated. Thanks. Suchi Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2006 Share Posted February 28, 2006 there is a contribution that already does that. http://www.oscommerce.com/community/contributions,2173 Link to comment Share on other sites More sharing options...
gargsuchi Posted March 1, 2006 Author Share Posted March 1, 2006 there is a contribution that already does that. http://www.oscommerce.com/community/contributions,2173 Thanks a lot for this. It worked and one of its mod helped me achieve exactly what i wanted. On a different note, I am doing business only in US. So my country options are limited to USA. Can i put in a list of states as a drop down instead of a free text box? How do i do that? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.