Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I remove the "new product of the month" box


josieg182

Recommended Posts

Posted

How do I remove the "new product of the month" box from my index.php page?

Take nothing but pictures.

Leave nothing but footprints.

Kill nothing but time.

(\__/)

(='.'=)

(")_(")

Posted

Down near the bottom of the index.php file (about line 30) find this bit of code

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

Comment out the include like thus

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

 

 

 

By commenting out the code, it will be easy to have the box return later if you need to.

Posted
How do I remove the "new product of the month" box from my index.php page?

 

If I am not mistaken the code to comment out is in the includes/column_left.php file. and the code to comment out would be:

  require(DIR_WS_BOXES . 'whats_new.php');

 

to this

 // require(DIR_WS_BOXES . 'whats_new.php');

 

This removes the box from all the pages.

 

BTW I love your signature.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Posted

Hi ddp.

I was thinking that Dani was talking about the new products section in the main text area.

Anyway, now both boxes are revealed. Love the sig too.

Posted
Hi ddp.

I was thinking that Dani was talking about the new products section in the main text area.

Anyway, now both boxes are revealed. Love the sig too.

 

Yeah I was not sure what was wanted so I posted the other solution.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

  • 1 year later...

Archived

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

×
×
  • Create New...