Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Categories To List Per Row


vikal

Recommended Posts

Posted

hi

 

good afternoon

 

well...

 

i wanna display 6 products per row...

 

and did like this

 

go to the admin panel..

 

admin>>Configuration>>Maximum Values>>

 

and Set

 

Categories To List Per Row to 6

 

but it displays only 3 products per rows...

 

even check

Categories To List Per Row to 2, 4, 5

 

 

but again it displayed 3 products per row

 

now tell me how to display 6 product per row..

 

or i have to change it manually through the code

 

regards

 

 

vikaL

Posted

Product Listing Enhancements, Thumbnails & Manufacturer Headings http://addons.oscommerce.com/info/6051

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Categories to list per row is changing the subcategory image and text links that appear above the new products in a stock osc.

Posted

hi

 

i got the solution...of this problem..

 

so let me tell...what i did..

 

i have done it manually..since from the admin i could not handle it...

 

there is a file

 

in

 

catalog\includes\modules\

 

and select a file..

 

new_products.php

 

and find this code within this file

//

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

}

 

//

 

since it display 3 products per row

but i had to change it

 

6 products per row

 

so i did like this

 

$col ++;

if ($col > 5) {

$col = 0;

$row ++;

}

 

it works..

 

still there need to maintain space bet two products same everywhere..

 

at the same file...

 

find this line

'params' => 'class="smallText" width="33%" valign="top"',

 

and i change it to

 

'params' => 'class="smallText" width="16.67%" valign="top"',

 

 

ok let me tell why i write width="16.67"

 

 

the default oscommer display 3 products per row

 

so divide 100/3 ie 33%

 

and i need to display...6

 

so i divided

 

100/6 = 16.67 %

 

and it works perfectly..no doubt...no error...

 

 

regards

 

vikaL

Archived

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

×
×
  • Create New...