Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

display categories instead of new products for ...


harrismirza

Recommended Posts

Posted

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...