Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Number of products displayed in New Products box on default


tybodell

Recommended Posts

Going to be manipulating the look of the storefront quite a bit but i need to know how to define how many new products will be displayed in the New Products for September box on the front page, can't find it in application_top or configure or in any of the /includes/boxes/* files. Thank you.

Ty

Link to comment
Share on other sites

You could edit /includes/modules/new_products.php and change the column count from 2 to 1

    $col ++;

   if ($col > 2) {

     $col = 0;

     $row ++;

   }

 

That will give you 2 across rather than 3 across

Link to comment
Share on other sites

I can tell I haven't gotten enough sleep! I forgot to say what version I am running. I have the 2.1 release. I am not seeing where in that file it has "col" listed do I need to add that above the row=++ ?

 

or is the 2.2 release reliable enough to go ahead and update?

 

thank you very much for the help!

Link to comment
Share on other sites

I like v2.2 and many have live sites with it. There are a lot of added features that make the migration worth it.

 

There is always the event of a bug in any product in progress, so you may run into them from time to time, but I think the trade off is well worth it, and the bugs are usually fixed pretty quick.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...