Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Products


Guest

Recommended Posts

Hey everybody!

 

in the new products page at the first page, the new products are shown in 3 columns.

i just wanna show them in 2 columns

 

what do i have to change???

 

can't find it, thanks a lot

Link to comment
Share on other sites

Ok, i just found the answer in another post (sorry about that).

 

For everyone:

 

To change the columns in the "New Products Box" that loads on index.php, locate and open the file at:

/catalog/includes/modules/new_products.php

 

At about line 36 you should find:

 

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

}

}

 

 

Change the number "2" here to however many columns you want.

0 = 1 column

1 = 2 columns

2 = 3 columns

 

And that's how you change the number of columns.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...