Guest Posted February 12, 2004 Share Posted February 12, 2004 Hi i want to disable the New Products in February window at the bottom of my page ... how can i do that ? thx anyways Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2004 Share Posted February 12, 2004 im having same problem.. anyone who can help us people? thanks in advanced Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2004 Share Posted February 12, 2004 In catalog/index.php find: <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> and change to this: <?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> on line 121 and 313 The_Bear Link to comment Share on other sites More sharing options...
sheepiedog Posted February 20, 2004 Share Posted February 20, 2004 Thank you so much, I have been searching for this for over 3 hours. checked the forums here, the wiki documentation, contributions, yours is the first post I have found that actually works and I was so close. I didnt realize there were two lines that had to be edited. Thanks so much again - this is great :) Link to comment Share on other sites More sharing options...
threeG Posted March 1, 2004 Share Posted March 1, 2004 I haven't noticed that the first instantiation of the line does anything but I could be wrong. In my own testing it hasn't affected me. But in any event if you change the codes for both to this: <?php if (MAX_DISPLAY_NEW_PRODUCTS!=0) {include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);} ?> the new products box will disappear altogether if you set the maximum value for the 'New Products Module' in Admin/Configuration/Maximum Values to 0. This way you don't have to edit code in the future to turn in back on, all you have to do is change the value to the number of products you wish to see as new products. B) Regards, John Regards, John "There is nothing like a little successful tinkering to bring out the looney mad scientist in all of us. Brohoohoohoooohaahaahaaahahaaaaaaaaaa!" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.