Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help!how to change the amount of product display on one page?


kenwud

Recommended Posts

Posted

I just want to display 6 products each page in each cataglog or new product page.special or homepage?

How to change ?

Many thanks

Posted
Admin -> Configuration -> Maximum Values you can change a few things there

Thanks Ruth, I just check it, It only can change the new product, But can not change other, such as each catalog or special product , home page product,

I think it should be changed in the code. Could you give me some idea about that?

thanks

Posted

Im guessing you look for something like this in the code

 

catalog->specials.php

 

if ((($row / 3) == floor($row / 3))) {

?>

 

change the numbers to whatever you want.

 

The code may be different in each file, for products_new.php its like this

 

<td colspan="3">

 

You could try it, not sure if it will work, just back up before you try it.

 

Anyway, you get the jist of it, just look for similar code in the files you want to change, change the number and see if it works.

 

If it does, post it back here so others can benefit from it, if not, Im sure you'll find a way or someone will pop in with the right answer.

Archived

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

×
×
  • Create New...