Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How To Delete "Whats New For March" Box


Paintburner

Recommended Posts

Posted

Hey Guys,

I just wondered how I might go about deleting the "Whats New For March" box that is in the center of the home page towards the bottom. I can delete the boxes in either the right or the left colums just fine, but havn't been able to figure out how to remove that one. Thanks a lot,

Posted
Hey Guys,

I just wondered how I might go about deleting the "Whats New For March" box that is in the center of the home page towards the bottom. I can delete the boxes in either the right or the left colums just fine, but havn't been able to figure out how to remove that one. Thanks a lot,

 

in index.php, look for

 

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

 

towards the bottom of the page, and delete it, or comment out

Posted

Ok, that sounds great. Just to make sure I understand, to comment something out I place this: <!-- --> around whatever I want left out of the code rigt?

Also, I'm trying to comment out the images to the little links for my account, cart contents, and checkout in the header. I found the images, but am not sure which part of the code I need to comment out. When I try commenting out certain parts that I think would do the job, I save and then restore my home page, its blank telling me I did something wrong. Any sugestions?

Posted
Ok, that sounds great. Just to make sure I understand, to comment something out I place this: <!-- --> around whatever I want left out of the code rigt?

Also, I'm trying to comment out the images to the little links for my account, cart contents, and checkout in the header. I found the images, but am not sure which part of the code I need to comment out. When I try commenting out certain parts that I think would do the job, I save and then restore my home page, its blank telling me I did something wrong. Any sugestions?

 

 

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

 

same for the images

Posted

I really do appriciate all of your help, but when I do that, the box is still there and the heading of the box is changed to TABLE_HEADING_NEW_PRODUTS instead of, new products for march. I did exactly what dave said to do above. Any help for that?

Thanks,

Posted
I really do appriciate all of your help, but when I do that, the box is still there and the heading of the box is changed to TABLE_HEADING_NEW_PRODUTS instead of, new products for march. I did exactly what dave said to do above. Any help for that?

Thanks,

 

okay, thats strange, if you comment out the include it shoud disappear.

 

so try this, the include should be surrounded by <tr> and <td> tags

 

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

 

if so change it to

 

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

 

or alternatively, delete the block of code ;)

Archived

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

×
×
  • Create New...