Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Default columns per row

Default columns per row

Locked

Views: 1,678

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
9 Sep 2006, 9:18 PM
#1
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Default columns per row

Can someone confirm if this is the code in modules/product_listing.php that determines the default number of columns per row using the grid layout?

if (!defined('PRODUCT_LISTING_COLUMNS_PER_ROW')) define('PRODUCT_LISTING_COLUMNS_PER_ROW',3);

I've played around with leaving the number in Admin blank and changing the 3 above for 2 but makes no difference - still shows three columns so just wondering is there something I'm not understanding?

9 Nov 2006, 8:49 PM
#2
jgamio avatar

jgamio

Zen Follower

Join Date:
Nov 2006
Location:
Caracas
Posts:
114
Plugin Contributions:
0

Re: Default columns per row

I dont know really but you can configurate in the admin

go to

Configuration->Index Listing->New Products Columns per Row
or
Configuration->Index Listing->Featured Products Columns per Row
or
Configuration->Index Listing->Special Products Columns per Row

whish you cant change

9 Nov 2006, 8:57 PM
#3
igd avatar

igd

New Zenner

Join Date:
Nov 2004
Posts:
76
Plugin Contributions:
0

Re: Default columns per row

if your using the grid layout module it should have had sql installs to edit the columns per row for the product listing pages.

but to confirm your answer yes that appears to be correct. that line basically says

if PRODUCT_LISTING_COLUMNS_PER_ROW is not defined then define PRODUCT_LISTING_COLUMNS_PER_ROW as 3.