Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change Number displayed across page


Gnuoo

Recommended Posts

Hi All

 

I was wondering if anyone knows how to change the number of subcategories displayed across the page,

 

For example in the default setup - the Category " Hardware" displays the 8 subcategories in 3 rows with 3,3,2 images in each - can it be changed to 2 rows of 4 subcategories ?.

 

 

Thanks

 

Graham

Link to comment
Share on other sites

I tried that, sorry but it didnt work -

Clicking on hardware in the left menu still displays Cdrom/graphics/keyboards in the 1st row, memory etc in the 2nd above the new products box.

 

Do you know where the display table can be found & how the number of products/categories across a box is calculated?.

 

Thanks

Graham

Link to comment
Share on other sites

I found this little snippet

 

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

 

Its in default_specials.php , featured.php, new_products.php, also_purchases_products.php - etc - and altering the 2 to 3 will give a display of 4 products across these boxes but I still cannot find a way to display the sub-categories pictures and names as 4 items across the middle of the page, it still defaults to 3, with spacer images between them.

 

Im guessing that the sub-categories are not displayed in an infobox

 

Any Ideas anyone?

 

Graham

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...