Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding number of rows


gohrayson

Recommended Posts

Posted

I read the documentations and found out that I can add number of columns with this code

 

catalog/includes/modules/new_products.php

At about line 36 change the number "2" here to however many columns you want.

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

}

}

1 = 1 column = 2 products per row

2 = 2 columns = 3 products per row

 

but what if I need to add number of rows?

 

Can someone help me?

 

Thanks!

Posted
I read the documentations and found out that I can add number of columns with this code

 

catalog/includes/modules/new_products.php

At about line 36 change the number "2" here to however many columns you want.

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

}

}

1 = 1 column = 2 products per row

2 = 2 columns = 3 products per row

 

but what if I need to add number of rows?

 

Can someone help me?

 

Thanks!

 

Are you looking for > administration > configuration > maximum values?

"If you're working on something new, then you are necessarily an amateur."

Posted

i found the configuration file in the admin, but i can't find the maximum values...

 

my admin>Configuration.php

 

where do i find the maximum values??

Archived

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

×
×
  • Create New...