tpwalker1980 Posted December 3, 2007 Share Posted December 3, 2007 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. Link to comment Share on other sites More sharing options...
biophase Posted December 3, 2007 Share Posted December 3, 2007 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 More sharing options...
biophase Posted December 3, 2007 Share Posted December 3, 2007 After reading your question again, I'm not sure if I answered it correctly. Are you just talking about changing the number of possible new products? If so, go to admin, configuration, maximum values. Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2007 Share Posted December 3, 2007 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 More sharing options...
tpwalker1980 Posted December 3, 2007 Author Share Posted December 3, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.