mystifier_uk Posted March 15, 2006 Posted March 15, 2006 I just want to remove the 'New Products' which are displayed at the bottom of the first page (with the thumbnails). How is this done? :blink:
Darklings Posted March 15, 2006 Posted March 15, 2006 Search in catalog/index.php for: <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> And change it too: <td><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> Even in this dark place, yes, I am afraid of my own shadow. Contributions | KnowledgeBase | osCommerce 2.2 pdf
mystifier_uk Posted March 15, 2006 Author Posted March 15, 2006 Thanks, but that doesn't work! :( Any other suggestions?
Darklings Posted March 15, 2006 Posted March 15, 2006 Actualy no, this is what i did, and for me it works :s strange... Can you give more info?? What happens, do you just get an error? or does nothing changes? Even in this dark place, yes, I am afraid of my own shadow. Contributions | KnowledgeBase | osCommerce 2.2 pdf
rabbitseffort Posted March 15, 2006 Posted March 15, 2006 around line 316 on index.php find these lines and take them out, this is easy and it works instantly! <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey"
sra4031 Posted March 15, 2006 Posted March 15, 2006 That code is actually in index.php twice. The first one will remove new products from all the other pages besides the index page, and the one on line 316 will remove it from the index page.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.