Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New products setup


Guest

Recommended Posts

By default my "What's new here" category of products, lists in columns of three. *Three products in each row*. Is there a way to change that to two? or even one?

 

I've seen it done on so many sites...but i just cant find how to do it...

Link to comment
Share on other sites

In catalog/incluse/modules/new_products.php change:

 

    $col ++;

   if ($col > 2) {

     $col = 0;

     $row ++;

   }

 }

 

to this:

 

    $col ++;

   if ($col > 1) {

     $col = 0;

     $row ++;

   }

 }

Link to comment
Share on other sites

Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Thank You!!

 

 

 

You are the best!!!

Link to comment
Share on other sites

  • 3 months later...

Can someone please tell me how I can do the same in /catalog/includes/modules/products_new.php?

 

My What's New page shows all the products in one long column, and I would like it in 3, but there is no code similar to that in products_new.php

 

Any help would be greatly appreciated.

 

Charlie

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...