Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove New Products


oscillate

Recommended Posts

Posted

G'day there

 

is it possible to remove the 'New products for <month>' panel on the main cart page?

 

is it easy enough to comment out the relevant parts?

 

TIA if you can help me out..

 

cheers

-NIC

Posted

catalog/includes/modules/new_products.php, rename new_products.php by adding a 1 or ORIG to it and its gone. dont know if the space will be usable.

Posted
catalog/includes/modules/new_products.php, rename new_products.php by adding a 1 or ORIG to it and its gone. dont know if the space will be usable.

 

That's treating the symptoms, not the disease :lol: Look for a line that says something like

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

in index.php

 

Sorry, not on my normal computer or i'd be able to give you more info!

Posted
That's treating the symptoms, not the disease  :lol: Look for a line that says something like
<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

in index.php

 

Sorry, not on my normal computer or i'd be able to give you more info!

 

hey there.. after commenting out that line.. it still shows up.. there must be something somewhere else.. cheeers

Posted
hey there.. after commenting out that line.. it still shows up.. there must be something somewhere else.. cheeers

 

Hmm, I don't have the original osc files to hand at the moment, sorry. Anyone else????

Posted

There is two occurence of that

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

within the index.php.

One around the middle of the file and one at the end just above 'body_text_eof'.

Commenting out both should do it.

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

Posted
There is two occurence of that

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

within the index.php.

One around the middle of the file and one at the end just above 'body_text_eof'.

Commenting out both should do it.

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

 

 

absolute legend.. thanks heaps

Archived

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

×
×
  • Create New...