Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

// out lines for WHATS NEW BOX.


newbie123

Recommended Posts

:angry: Anyone see this? I have commented out the lines referring to the whats new for month box. the box is gone, but now above my category images i see the following:

 

n

n

n

n

n

n

n

 

What am I doing wrong? Any suggestions?

Link to comment
Share on other sites

which file did you comment out

 

It should have been catalog/includes/column_left.php as follows

 require(DIR_WS_BOXES . 'whats_new.php');

change to

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

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

My guess is you used the built in file manager to edit the file... If so undo what you did and edit the file using notepad or something similar as the built in filemanager is currently broken.

 

HTH

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

I take it you are referring to the what's new box in the left column and not the new products box in the centre of the main page

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

I did post earlier for the left column what's new box

 

It should have been catalog/includes/column_left.php as follows

  
require(DIR_WS_BOXES . 'whats_new.php');

 

change to

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

 

and for the NEW PRODUCTS for month box located centre of main page removal

 

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

Archived

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

×
×
  • Create New...