Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

new_products.php - need to add more products


Guest

Recommended Posts

Hi,

 

can anyone please help me with new_products.php.

 

on the front page of my website there's currently a 2x2 list of products.

 

i want to expand that to 3x5 but i have no idea how to edit the new_products.php

 

help me please!

Link to comment
Share on other sites

There are two steps you must do:

First:

Go to admin panel, then go to "Configuration -> Maximum Values" section, set "New Products Module" to 15.

 

Second:

In catalog/includes/modules/new_products.php, about line 36, find the code:

######

if ($col > 2) {

######

 

change "2" to "5".

 

That's all, try it.

Everyone is changing the world.

Everyone is a world.

For everyone needs my help, PM or email if I amn't online.

Link to comment
Share on other sites

  • 2 months later...
There are two steps you must do:

First:

Go to admin panel, then go to "Configuration -> Maximum Values" section, set "New Products Module" to 15.

 

Second:

In catalog/includes/modules/new_products.php, about line 36, find the code:

######

if ($col > 2) {

######

 

change "2" to "5".

 

That's all, try it.

 

 

$col > 2 will generate 3 columns in [new_products.php,v 1.34 2003/06/09 22:49:58] which is the latest I know of on the osCommerce site.

 

$col > 5 will generate 6 columns.

 

Assuming the OP wanted 3 rows by 5 columns then $col > 4 will generate 5 columns. The Max Value of 15 will generate the 3 rows.

 

-Vicki-

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...