Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing No. of Product Columns on Index Page


bennysheehan

Recommended Posts

Posted

Hi,

 

I have looked for answers and found out how to change the number of products displayed on the index page and have tried this, but it just arranges the new number of products on the page into the same 3 column wide format as before.

 

How do I reduce to a 2 column format? is it just the amount of product info i display with the image?

www.arbor.com.au/indexold.php

 

Thanks,

Ben.

Posted
Help Anyone

 

Now I'm not sure if this will help you or not but..

 

I wanted to change the number of products shown for the new products box on the index page myself. Either I didn't read far enough into the forum searches I did to find the answer or I just couldn't find it. So I just experimented until I got what I wanted.

 

I wanted to change from 3 columns to 2 columns..

 

In includes/modules/new_products.php

 

Look For --

$col ++;
if ($col > 2) {
$col = 0;
$row ++;
}

 

And Change To -- the "2" to a "1"

 

That worked for me. Like I said not sure if it will work or not for you but can't hurt to backup and try it.

If you'd like to see it click HERE I'm still working on all the other stuff for the store but at least you can see this change made it go from 3 column to 2 column.

 

-- Mindy

Archived

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

×
×
  • Create New...