Zen Cart Logo
Forums / General Questions / question about displaying products in columns

question about displaying products in columns

Locked

Views: 3,077

Results 1 to 20 of 31
This thread is locked. New replies are disabled.
19 Feb 2008, 3:33 AM
#1
mmosel avatar

mmosel

New Zenner

Join Date:
Jun 2005
Posts:
49
Plugin Contributions:
0

question about displaying products in columns

Hi all,

I have a client that is using Zen cart for their shop. I didn't install it and I'm not even sure which version it is. In the index.php file I get this:

  • @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $

Anyway, I have a quick question. Is there an easy way to have the products display pages/results to show in columns? Say 3 columns instead of 1? I didn't see anything in the admin for this, but I don't know if I missed it.

If there is no built in way, how much work would it be to custom script a solution? I can script fairly well, but it's always a pain to reverse engineer something.

Any thoughts? Thanks :)

19 Feb 2008, 4:43 AM
#3
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: question about displaying products in columns

It should be Admin > Configuration > Product Listing. Near the bottom you should see " Product listing layout style " and " Product listing columns per row ".

May be different in previous versions. If so you may need columnar layout grid http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=77
.

Hope I was able to help some and wasn't too far off!

John

Ahhhh okay, just noticed that yellow already gave a link to that. Guess Im not too far off! When do I graduate from Follower?:D

19 Feb 2008, 4:48 AM
#4
mmosel avatar

mmosel

New Zenner

Join Date:
Jun 2005
Posts:
49
Plugin Contributions:
0

Re: question about displaying products in columns

Hmm ok. Doesn't say anywhere in admin. Looks like it's been modified - it says ft 11 shopping cart system. Looks like Zen branding has been removed, but still exists in the code. Any other way of knowing the version?

Thanks John - but I didn't see either of those options in the product listing. Must be an older version.

Thanks for the links. If I can sort out which version it is, then perhaps I can use one of those grid mods.

19 Feb 2008, 5:05 AM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: question about displaying products in columns

Go admin/server_info.php

BTW, I dont think whoever did that have the right to remove ZC copy right on admin side.

19 Feb 2008, 6:14 AM
#6
mmosel avatar

mmosel

New Zenner

Join Date:
Jun 2005
Posts:
49
Plugin Contributions:
0

Re: question about displaying products in columns

Yellow, you may be right, I have no idea though. I didn't build the site. I'm just trying to assist a client. My guess is the site owners went to that company (ft 11) and they installed the system and branded it themselves. FT 11 has a website. You can check it out.

Thanks for your help.

19 Feb 2008, 6:32 AM
#7
mmosel avatar

mmosel

New Zenner

Join Date:
Jun 2005
Posts:
49
Plugin Contributions:
0

Re: question about displaying products in columns

well, the server_info.php file didn't help me.

is the info in the database or something? I don't have direct access to it atm.

19 Feb 2008, 7:24 AM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: question about displaying products in columns

V1.3.7 still uses the 2006-02-02 copy of index.php, so it is not necessarily that old, and the column grid mod version for ZC 1.3.6 and 1.3.7 is the same.
I don't suppose you can post a link or give a url? Then we could find out.

19 Feb 2008, 8:20 AM
#9
mmosel avatar

mmosel

New Zenner

Join Date:
Jun 2005
Posts:
49
Plugin Contributions:
0

Re: question about displaying products in columns

Thanks Gjh42, I'll ask the client if it's ok, or otherwise I can IM it to you.

You can find out just by looking at the live site?

19 Feb 2008, 8:26 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: question about displaying products in columns

There are various small clues in how the output is coded in view source, and the stylesheet date(s) often help.
I believe a 2006-02-02 date would have to be v1.3.0 at the earliest.

Actually I could look up in the changelog when certain files were changed, and you could check the date on those files (assuming you can look at all the files in the cart).

19 Feb 2008, 8:46 AM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: question about displaying products in columns

If you can look at the files, /includes/version.php will have the exact information for your installation.

P.S. - You won't see the "columns" options in admin until the column grid mod has been installed.

19 Feb 2008, 10:13 PM
#12
mmosel avatar

mmosel

New Zenner

Join Date:
Jun 2005
Posts:
49
Plugin Contributions:
0

Re: question about displaying products in columns

gjh42,

Thank you, you have been patient and helpful.

It's Version 1.3.7

define('PROJECT_VERSION_NAME', 'Zen Cart');
define('PROJECT_VERSION_MAJOR', '1');
define('PROJECT_VERSION_MINOR', '3.7');

Ok, now I can move on, phew. I'll look into the column grid mod now.

Thanks again!

21 Feb 2008, 5:26 PM
#13
thewarden avatar

thewarden

New Zenner

Join Date:
Jun 2006
Posts:
17
Plugin Contributions:
0

Re: question about displaying products in columns

bumba000:

It should be Admin > Configuration > Product Listing. Near the bottom you should see " Product listing layout style " and " Product listing columns per row ".

I'm trying to achieve this myself, however I don't see this setting.

21 Feb 2008, 5:38 PM
#14
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: question about displaying products in columns

And you did install the grid layout module before trying this?

21 Feb 2008, 9:35 PM
#15
thewarden avatar

thewarden

New Zenner

Join Date:
Jun 2006
Posts:
17
Plugin Contributions:
0

Re: question about displaying products in columns

yellow1912:

And you did install the grid layout module before trying this?

Hehe. Nope. :oops: I will do that. Thanx for bringing it to my confused attention!

21 Feb 2008, 11:25 PM
#16
kbmets7 avatar

kbmets7

Zen Follower

Join Date:
Jan 2008
Posts:
89
Plugin Contributions:
0

Re: question about displaying products in columns

I went to Configuration->Product Listing->

I set "Product Listing - Layout Style" to Columns and

I set "Product Listing - Columns Per Row" to "3".

However, look at this page:

http://209.85.34.64/index.php?main_page=index&cPath=32

It is not showing the products in columns. What am i doing wrong?

22 Feb 2008, 1:40 AM
#17
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: question about displaying products in columns

And did you edit the template files and such as instructed in the mod?

22 Feb 2008, 2:28 AM
#18
kbmets7 avatar

kbmets7

Zen Follower

Join Date:
Jan 2008
Posts:
89
Plugin Contributions:
0

Re: question about displaying products in columns

yellow1912:

And did you edit the template files and such as instructed in the mod?

As instructed in what mod? I don't understand.

22 Feb 2008, 2:33 AM
#19
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: question about displaying products in columns

The grid layout module, of course, otherwise you cant have multiple columns per row.

22 Feb 2008, 2:44 AM
#20
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: question about displaying products in columns

As I recall, you don't need to edit files for Column Grid. You just need to upload the already edited mod file(s) and run a sql patch.