100asa Posted December 9, 2004 Share Posted December 9, 2004 I must disable only one manufacturer. Thoughts exist some contribution? Bye Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
peterr Posted December 9, 2004 Share Posted December 9, 2004 Hi, What do you mean by 'disable' a manufacturer ? Products have a manufacturer code tied to them, do you want the manufacturer information not to show for a product, or not to be included in the manufacturers dropdown ?? Some more information please, about what you want to do. Peter Link to comment Share on other sites More sharing options...
100asa Posted December 9, 2004 Author Share Posted December 9, 2004 All products of the the disabled manufacturers must be disabled, invisible! Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
terrym2442 Posted December 9, 2004 Share Posted December 9, 2004 All products of the the disabled manufacturers must be disabled, invisible! <{POST_SNAPBACK}> I need to do the same thing; with an affiliate store that isn't sending me stats and payments. Terry myADDstore.com 'simply everything you need for yoru AD/HD' Link to comment Share on other sites More sharing options...
peterr Posted December 9, 2004 Share Posted December 9, 2004 Hi, All products of the the disabled manufacturers must be disabled, invisible! <{POST_SNAPBACK}> Simple, delete the products. Peter Link to comment Share on other sites More sharing options...
terrym2442 Posted December 10, 2004 Share Posted December 10, 2004 Hi,Simple, delete the products. Peter <{POST_SNAPBACK}> I'm hoping to resolve the problem with the merchant, so didn't want to delete them. However, he emailed saying I'm being dropped (because I've questioned him where my stats/payment is). I just hope he pays me for what is owed since joining his program back in July. But I don't have high hopes. Terry myADDstore.com 'simply everything you need for yoru AD/HD' Link to comment Share on other sites More sharing options...
peterr Posted December 10, 2004 Share Posted December 10, 2004 Hi, Okay, sorry to hear about the payments,etc. If there are a lot of products, and as you say, you may want to keep them in the database, you can simply add a column to the manufacturers table, something like: disable_manufacturer boolean default value of zero 1. Set the value of the column to '1' for the said manufacturer. 2. Then when the manufacturers dropdown is done, check for the flag, just something like, a bit of pseudo code. --------------------------------- if (!disable_manufacturer) { include manufacturer in the dropdown list } --------------------------------- 3. Then when displaying products, much the same code to be inserted. I personally don't like "if not' statements, much cleaner like this ............. ---------------------------- if (disable_manufacturer) { } else { include product } ----------------------------- Peter Link to comment Share on other sites More sharing options...
terrym2442 Posted December 11, 2004 Share Posted December 11, 2004 Hi, Okay, sorry to hear about the payments,etc. Thanks, Peter. But...I don't know how to do this sort of thing; my webmaster takes care of anything beyond the most basic of operations. I'm no techie. But all is well in that I was able to stop them from showing up by using the red status light. It works now! Terry ----------------------------- myADDstore.com 'simply everything you need for yoru AD/HD' Link to comment Share on other sites More sharing options...
100asa Posted December 11, 2004 Author Share Posted December 11, 2004 I mean, as this contribution http://www.oscommerce.com/community/contributions,326 another one only for manufacturers. At this moment I've a manufacturers that not ship me any products, because our partnership is failed. But is short time I think that I'm already buy your products. This is the reason I want disable only for a few times this manufacturers, without delete your products. Thank you Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.