Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Want to keep products up as new on Main page


Redeye_Joe

Recommended Posts

Posted

How can I make the main page show the newest products instead of the "New for September". I want the newest products to stay up even after the month is over. Please let me know if you know how I can make this work,

thanks

Doug

Posted
How can I make the main page show the newest products instead of the "New for September". I want the newest products to stay up even after the month is over. Please let me know if you know how I can make this work,

thanks

Doug

If you got PHPmyadmin installed, just play with the dates !! :P

In the Products table !

Posted

that seems like a hard way to fix this, I have many other stores that are running older versions that do this on thier own, just this last one I did, or I am having trouble finding where I can modify it to show what I want, someone has to know how to fix this the right way.

Doug

Posted

new products stay as new until you add more products to the dbase.

Posted

Yes, but on this version i just installed which is a premoded version it shows "new for september" instead of new products, I want it to show new products and display 9 of the newest products we have added, no matter the date... should not be hard to change.

Doug

Posted

oh do you mean the header of the new products box. If so check the includes\languages\<language>\index.php In there you should have something like:

 

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

 

Once you modify that part open the includes\modules\new_products.php

 

in there should be something like this:

  $info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')));

 

and so you will replace that with:

  $info_box_contents[] = array('text' => TABLE_HEADING_NEW_PRODUCTS);

Archived

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

×
×
  • Create New...