Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to set number of rows of New Products For Month in PHP file?


alex298

Recommended Posts

Posted

Hi,

 

I know I can change the number of rows of New Products For Month in the Admin Panel. I would like to change the number of rows in the PHP file.

 

It seems that new_products.php is not the correct file to edit. I think this may be done by setting the maximum number of new products display. But I have no idea which file to set the maximum number of new products display.

 

Please help.

 

Thanks and best regards

 

Alex

Alex

Posted

Jason,

 

Thanks for the link. However the linked topic only discuss how to change the number of COLUMNS in the New Products For Month. Actually I wish to know how to change the number of ROWS in PHP file.

 

Please help.

 

Thanks and best regards

 

Alex

Alex

  • 8 months later...
Posted

This lets you change the amount of products displayed but doesnt tell you how to create new rows.

 

I think the piece of code that needs editing is this:

 

$col ++;

if ($col > 5) {

$col = 4;

$row ++;

}

}

 

in modules/new_products.php

 

Anyone know how to change this so that I can have 4 rows instead of the single row I have at the moment?

 

I have set my maximum values already.

 

Thank you!!!!!

Archived

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

×
×
  • Create New...