Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disable "New products for MONTH" and Shipping


buynetspace.com

Recommended Posts

Posted

Hello,

 

New to the project, and so far I think I will be able to use it. I am running into some road blocks as I am offering services and not products...

 

I would like to disable the "New products for.." and shipping all together. I will have no need for shipping because I am not shipping anything. I tried commenting out lines in index.php like

 

// needed for the new products module shown below
$new_products_category_id = $current_category_id;

 

and the lines below it, but to no avail as it still shows on front page.

 

 

Any help is appriciated.

 

Thanks

Posted

this is how I did it and it seemed to work, I edited these files,

 

catalog\includes\languages\english\index.php

 

find

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

 

and just add "//" in front of define

 

catalog\index.php

 

find

include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);

 

there should be two, and just add "//" in front of include

 

catalog\includes\filenames.php

 

find

define('FILENAME_PRODUCTS_NEW', 'products_new.php');

 

and once again, add "//" in front of define (you're catching on, right?)

 

now replace the corresponding files on your server and that should do it

 

cheers!

Archived

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

×
×
  • Create New...