Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

code location


gavinmcmillan

Recommended Posts

Hi

 

Im trying to find the code for the box in the bottom middle of the main page. It says

 

"whats new for march"

 

then below it it has all the new products added for the month. im trying to find the code for it so that i can swap it with the specials information so that specials will be at the bottom and there wont be a "whats new for march"

 

Regards

Gavin

Link to comment
Share on other sites

Not entire sure what you want to do with it, but you can find the code in catalog/index.php

 

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

(There are 2 occurrences.)

 

You can find the module itself at catalog/includes/modules/new_products.php

Link to comment
Share on other sites

Not entire sure what you want to do with it, but you can find the code in catalog/index.php

 

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

(There are 2 occurrences.)

 

You can find the module itself at catalog/includes/modules/new_products.php

 

I want to remove it and put the specials box there in place of it. e.g i want to have 9 or so specials there instead of 9 or so new products.

 

Thanks for your help

 

Gavin

Link to comment
Share on other sites

Just change

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

to

<?php include(DIR_WS_BOXES . 'specials.php');?>

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

I have done that and am now getting an error on this line

 

} elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) {

 

Any ideas?

 

sorry i worked it out, i didnt read all the replys to the question properly, there are 2 occurances!!!!

 

thanks for your help all!!!

 

Gavin

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...