Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

removing specials from default


varnco

Recommended Posts

Okay, I am trying to remove the new products info box from my default.php page, but I am having no luck commenting it out.

 

This is what I am trying to comment out:

 

<td><br>

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

</tr>

 

But, if I try to use // to comment it out, it doesn't comment it out.

If I try to use <!-- --> it doesn't work either.

 

I don't want to delete the code from default.php as I may want to display "new products" at a later date.

 

Obviously, I am doing something wrong, but can't figure it out. I'm sure it's simple simon... but I've been going at it for hours...

 

Thanks for the help!

Link to comment
Share on other sites

Didn't work.

 

I think I must be using the wrong things to comment out the lines.

 

I've tried // right before the line.... nothing.

 

I've tried the <!-- --> and nothing...

Link to comment
Share on other sites

To comment out the php line, are you doing it like this?

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

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

... dumb that I was doing...

 

I was adding the // before the <?php and not before the includes statement.

 

Hours wasted over something so simple.

 

Thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...