Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

how to eliminate "new Products" on index page


2 replies to this topic

#1 mxhall

  • Community Member
  • 13 posts
  • Real Name:milton hall
  • Gender:Male

Posted 29 November 2008, 12:00

I am just installing oscommerce for the first time. I am trying to customize the index.php page and I want to remove the "new products" section on the page. I can't find were this comes from, where can I find the definition of this section, is it a file? any help is appreciated.

#2 germ

  • Community Member
  • 13,582 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 29 November 2008, 15:05

In /catalog/index.php change this code:

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

			<td><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
This line appears in there TWICE.

Backup the file before editing.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#3 neoelectrex

  • Community Member
  • 29 posts
  • Real Name:Delete this Account
  • Gender:Male

Posted 22 September 2010, 18:52

View Postgerm, on 29 November 2008, 15:05, said:

In /catalog/index.php change this code:

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

			<td><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
This line appears in there TWICE.

Backup the file before editing.

I used this and it worked perfectly. Thanks.