Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is there a way to add a category in place of new products on Index?


vjboc

Recommended Posts

Posted

Is there a way to add a category in place of new products on Index without it directing the whole page? I found a code, but it directs the whole page.

or Does anyone know of an easy solution to change New products on Index. I tried a couple of Add Ons and I did not get it right.

Posted

Is there a way to add a category in place of new products on Index without it directing the whole page? I found a code, but it directs the whole page.

or Does anyone know of an easy solution to change New products on Index. I tried a couple of Add Ons and I did not get it right.

 

On line #313 of the default index.php you have

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

 

If you want to remove new products, you could just comment it out like

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

 

or if you wanted to replace it with something else, like a featured products module, you could have

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

Archived

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

×
×
  • Create New...