Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Displaying More Then 4 Items On index page


indicaz

Recommended Posts

Posted

Ok maybe i just didnt search well enough, although ive spent 2 days trying to find the answer to this question.

 

* Solicitation

 

anyways

 

How do I edit how many products are displayed on my index page???

 

For instance right now it displays 4 pictures/product descriptions...... id like it to display say 8 or more...

 

Someone please help ive searched the forums for an answer to no avail...

 

 

Thanks

 

Indi

Posted

I would guess that you're using a template, probably with some sort of 'featured products' module added on.

 

Do you have a url so we can see what you're describing?

 

Ok maybe i just didnt search well enough, although ive spent 2 days trying to find the answer to this question.

 

* Solicitation

 

anyways

 

How do I edit how many products are displayed on my index page???

 

For instance right now it displays 4 pictures/product descriptions...... id like it to display say 8 or more...

 

Someone please help ive searched the forums for an answer to no avail...

Thanks

 

Indi

Posted
I would guess that you're using a template, probably with some sort of 'featured products' module added on.

 

Do you have a url so we can see what you're describing?

 

 

Thanks for your quick response i figured it out on my own :)

 

and heres the answer

 

in your \catalog\includes\modules\new_products.php

 

around like 65 you will find

 

 

$col ++;

if ($col > 1) {

$col = 0;

$row ++;

if ($row > 3)

break;

 

Change the ($col > 1) to however many colums you want displayed

Change the ($row > 3) to however many rows you want displayed

 

Just a note the number 0 really equals 1

1 equals 2 and so on

 

The following example above displays 2 columns with 4 Rows of products

 

 

All you need to do is simply edit the file... save and your done...

 

 

Thanks

indi

Posted

ohh and sorry for the solicitation i was just trying to help whomever could help me.

Archived

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

×
×
  • Create New...