Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Front Page / main page. Change number of items displayed, How?


tpwalker1980

Recommended Posts

Look in includes/modules/new_products.php

 

I have a template so I'm not using the stock Oscommerce layout but on my template I increased the numbers in bold below. If you increase the columns to double you need to shrink the images and table sizes.

 

Play around with it and you'll get the hang of it.

 

($new_products['products_tax_class_id'])));

 

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

}

}

 

Mine actually looks like this:

 

$col ++;

if ($col > 3) {

$col = 0;

$row ++;

if ($row > 5)

break;

}

}

 

I have 4 columns and 6 rows.

Link to comment
Share on other sites

I'm trying to locate which file / setting sets the number of items displayed on the homepage.

 

Right now it is set to 4. I would like to increase this to either 6 or 9.

 

Please point me in the right direction.

Thanks in advance.

You can set some of this from admin configuration maximum values.

Link to comment
Share on other sites

You can set some of this from admin configuration maximum values.

 

 

Thanks guys,

It was a combination of both. the admin config had to be changed to allow more items to display, and the new_products.php file was modified to increase the columns

 

thanks to all.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...