Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

change from 3 to 2 column


blr044

Recommended Posts

I have gone through random_pro.php and new_products in includes/modules/ This what I did:

$col ++; 
/* if ($col > ($randomcol-1)) {  */
       if ($col > 2) {

$col = 0; 
$row ++; 
} 
} 

But It still remains at three columns. So am I missing a file that needs to be changed.

 

Thanks.

 

Bennett

Link to comment
Share on other sites

You need to change that into

 


$col ++; 
/* if ($col > ($randomcol-1)) {  */
       if ($col > 1) {

$col = 0; 
$row ++; 
} 
}

 

 

I have a contribution that allows you to make this change via admin you can get it by clicking the "my addons" link its called set you own columns

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...