harrismirza Posted April 12, 2004 Posted April 12, 2004 hi on main page only i want to show categories with images instead of new products for april. any contributions? harris
clewist1 Posted April 13, 2004 Posted April 13, 2004 I can help you with the first half of your question. In your default.php (or index.php....whatever is your main page that automatically loads up when you first enter the catalog), search for the following text: <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> You should find two instances of this text. The first instance is for placing the NEW PRODUCTS box in all the pages EXCEPT the top (main) page of your catalog. The second instance of this code is for showing the NEW PRODUCTS box on the main page. You can know that this is the right instance, because it will be preceded (about ~25 lines of code before) by the following php code: <?php } else { // default page ?> If you delete the above mentioned table row (first block of code in this post) found at this location, you can get rid of the NEW PRODUCTS box on the main page only. For the second part of your problem (replacing it with a categories graphical box), I'm not yet sure how to do this (I'm looking to accomplish this for myself, as well). If you find out, please post here so I can get the fix.
clewist1 Posted April 13, 2004 Posted April 13, 2004 Actually, I just found this mod which seems to solve the problem: http://www.oscommerce.com/forums/index.php?showtopic=65657&st=0 We'll see how it works....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.