Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to delete new products box in index.php


giroro_

Recommended Posts

in index.php page, the default template now showing the new products box in the content,

 

i'm using STS, but i cannot just delete the $content as the categories will then cannot be shown

 

how can i dun show this new products box in index.php ?

 

thanks

Link to comment
Share on other sites

So you got to look where the value of $content is assigned. Would be the right place to look for something like

 

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

to comment it out.

 

 

 

may i know where is this line of code come from ? actually i'm having problems with the location of this $content.

 

thanks

Link to comment
Share on other sites

  • 2 months later...
line 280 of index.php unless you have a template and then you just need to look for the code tward the bottom of the page

 

<td><?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?></td>

 

 

I found this on line 313 of mine. I deleted the whole line (kept code if I ever want to put it back)

and now it's fine. Not there anymore.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...