Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

From the Wiki


pluggin

Recommended Posts

I tried the below from the WIKI with no results anyone have any ideas on how to remove the "New Products for May" table?

 

This removes the box that says "New Products for May"?

 

In the catalog/index.php file you will see this line about line 134:

 

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

Comment this out with:

 

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

This will let you bring the what's new back should you change your mind by just un-commenting the line.

Link to comment
Share on other sites

That worked great... Thanx it's really hard searching and searching I wish there were a better way to map out how to make changes but what do expect for free? I don't like asking if it's already posted somewhere but it takes forever to look for even small changes, and the search feature on this board leaves much to be desired.

 

Thanx Again!

Link to comment
Share on other sites

This box is used for more than one thing but to completely remove the box

 

it is the new products box catalog/index.php

 

catalog/index.php

 

Try looking for this around line 121

 

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

change to this

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

 

This around line 280 (for product list)

 

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

change to this

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

 

This around line 313

 

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

change to this

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

 

This around line 316 ( for upcoming products)

 

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

change to this

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

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Hi Steve, Not sure what you meen... When I did the above it removed the "New Products for May" Table on the main catalog page which was what I was looking to do.

 

What will adjusting according the changes do that the other will not?

 

Thanx for your help!

Link to comment
Share on other sites

allow the commenting back in of the parts if later required

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...