Forums / Templates, Stylesheets, Page Layout / styling product listing pages with column layout grid

styling product listing pages with column layout grid

Views: 50,719

Results 81 to 100 of 220
4 Nov 2009, 9:32 PM
#81
nyanko_chan avatar

nyanko_chan

New Zenner

Join Date:
Sep 2008
Posts:
40
Plugin Contributions:
0

styling product listing pages with column layout grid

Hi, Glenn!

I followed your instruction and everything is super dandy and looks exactly the way I'd like. :clap:

Thank you so much!!

24 Feb 2010, 8:50 AM
#82
joomoo79 avatar

joomoo79

New Zenner

Join Date:
Feb 2009
Posts:
33
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

Mmm... Where is the download link for this mod? Sounds awesome and exactly like what I need right now, but I can't see how to get it...

gjh42:

This may be a good place to post my new mod, Flexible Product Listing (currently identified as v0.9 since I haven't been able to test it live on my (v1.3.7) test site.)

It includes two flavors, the full flex which incorporates the option of Column Grid and can reposition elements of the listing in just about any way imaginable, and the CSS-only which just adds classes to the standard layout for styling control.

The readme with instructions is not complete, so ask for any directions you need if you try it. It is written for Zen Cart v1.3.8, and will not run correctly on earlier versions (due to changes in product_listing.php).

Please let me know how it works, and thanks for testing!

16 Mar 2010, 12:26 PM
#83
bikeforce avatar

bikeforce

New Zenner

Join Date:
Sep 2009
Posts:
73
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

I want to add new fields to the product listing as headings.... does this mod do this?

17 Mar 2010, 3:40 PM
#84
fuzziest avatar

fuzziest

New Zenner

Join Date:
Jan 2009
Posts:
12
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

@ Joomoo

The link is available for download in post #50 of this thread.

19 Mar 2010, 9:18 PM
#85
martyndw2005 avatar

martyndw2005

Zen Follower

Join Date:
Aug 2005
Posts:
70
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

Hi,

I can`t work out where to implement snazzy boxes so its around each product listing using the column layout grid mod.

Version of zencart : 1.3.8

Link to information regarding snazzy round boxes
http://www.zen-cart.com/forum/showthread.php?t=73822&highlight=round+boxes

Firefox webdeveloper output attached centerBoxContentsProducts.jpg

The attachment shows centerBoxContentsProducts with a red box indicating where im wanting to implement the box that repeats for each product.

Class: centerBoxContentsProducts

Using Developer tool in admin the following pages show this class

../includes/modules/beeunique/product_listing.php

Line #240 : $list_box_contents[$rows][$column] = array('params' => 'class="centerBoxContentsProducts centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',

../includes/modules/product_listing.php

Line #240 : $list_box_contents[$rows][$column] = array('params' => 'class="centerBoxContentsProducts centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',

website page example : http://www.beeunique.co.uk/index.php?main_page=index&cPath=72

Firefox webdeveloper output attached centerBoxContentsProducts.jpg

Productboxwanted.jpg attachment shows how I would like each box to look like with using the snazzy box theme.

I am not sure if this is possible please help. I seem to have the code to put in here just dont know were to put it.

regards
Martyn

21 Mar 2010, 7:34 AM
#86
needsome avatar

needsome

New Zenner

Join Date:
Feb 2010
Posts:
10
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

Hello,

Anybody has any idea how to apply this to the Featured product listing page?

Thanks for helping..

25 Mar 2010, 11:03 PM
#87
jesicam avatar

jesicam

New Zenner

Join Date:
Mar 2010
Posts:
10
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

I have done the necessary steps to install this, however when I copy/paste the code into the tools -> sql patch screen it gives me this error:

1062 Duplicate entry 'PRODUCT_LISTING_LAYOUT_STYLE' for key 2
in:
[INSERT INTO zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Product Listing - Layout Style', 'PRODUCT_LISTING_LAYOUT_STYLE', 'rows', 'Select the layout style:
Each product can be listed in its own row (rows option) or products can be listed in multiple columns per row (columns option)', '8', '40', NULL, now(), NULL, 'zen_cfg_select_option(array('rows', 'columns'),');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

any ideas on where I went wrong??

Thanks so much!

25 Mar 2010, 11:18 PM
#88
jesicam avatar

jesicam

New Zenner

Join Date:
Mar 2010
Posts:
10
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

So sorry - I'm a ding dong... I just figured out that the answer to this was already in this thread. It works great!

2 Apr 2010, 3:28 AM
#89
donnyb avatar

donnyb

New Zenner

Join Date:
Apr 2010
Posts:
32
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

Hello all, I'm new to Zen Cart and have just installed V1.3.8a. The only add on I have is the "column_layout_grid" from post #50.

The problem I am having is the products don't always show up in even columns. I am using Firefox and if you "refresh" the browser sometimes everything lines up, other times different products get out of line.

Here is one page that I have the problem with.
HERE

Here is another page that does the same thing.
Here

It seems the pages with only three items are fine, it's when I have more that it gets goofy on me.

I would love to figure this out as I like the "grid" layout much better.

Any help is appreciated.
Thanks
donnyb

2 Apr 2010, 3:45 AM
#90
donnyb avatar

donnyb

New Zenner

Join Date:
Apr 2010
Posts:
32
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

I'm sorry, I am using the "flexible_product_listing_1_0_prelim.

Thanks
donnyb

2 Apr 2010, 3:57 AM
#91
gjh42 avatar

gjh42

Black Belt

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

Re: styling product listing pages with column layout grid

I refreshed a dozen times or so and didn't see any changes. Exactly how is it changing for you? Are you sometimes getting the third product dropping down to a new line? Or a product stuck off to the right of where it should be, leaving a gap to the left? What browser(s) are you seeing this in?

2 Apr 2010, 1:05 PM
#92
donnyb avatar

donnyb

New Zenner

Join Date:
Apr 2010
Posts:
32
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

Thanks for your help, it seems like sometimes some of the listings will show up with the product info link being one word per line like below

Springfield
Armory
9mm 3in
Black
XD9801HCSP06

Instead of like

Springfield Armory
9mm 3in Black
XD9801HCSP06

I will try to show an example using an X for the product and how it lays out on my page sometimes. Three columns with four rows in the grid. If I refresh my browser sometimes the "Xs" that are sticking out will fall in line .

X X X
X _ _ X X
X X X
X X _ X

Then other pages work just fine or if I reload the page
X X X
X X X
X X X
X X X

On my computer and at my brothers house, both using firefox, it dose the same thing.

I have tried to "file, save page as" so I could post how it looks, but every time I do, it displays properly in the "saved as" file. I don't know how to save it as a .jpg

Any additional info you need just let me know.

Thanks again
donnyb

EDIT i tried to put spaces between some of the Xs above but it did not display properly.****

2 Apr 2010, 2:33 PM
#93
donnyb avatar

donnyb

New Zenner

Join Date:
Apr 2010
Posts:
32
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

I just got to another machine that has I.E. on it and everything displays fine. I guess my problem is in Firefox.

2 Apr 2010, 4:19 PM
#94
gjh42 avatar

gjh42

Black Belt

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

Re: styling product listing pages with column layout grid

I don't see a reason why it would be malfunctioning for you, but I do notice that the products are displaying in a table. The mod's /includes/templates/your_template/templates/tpl_modules_product_listing.php will use tpl_columnar_display.php which is all divs if set to Columns in admin, so I wonder if your copy of the mod file is in place. The stock copy of that file will use tpl_tabular_display.php, which would yield the display you have.

2 Apr 2010, 5:51 PM
#95
donnyb avatar

donnyb

New Zenner

Join Date:
Apr 2010
Posts:
32
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

SUCCESS!!!!

Thank you for your help and for the mod.

I had the /includes/templates/your_template/templates/tpl_modules_product_listing.php in the wrong place.

As soon as I moved it it works.

Thanks again for your help gjh42

donnyb

6 Apr 2010, 4:29 PM
#96
hollys avatar

hollys

New Zenner

Join Date:
Nov 2008
Posts:
2
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

Love this mod since it gives us flexibility in re-ordering what we see for each product. Has anyone seen a problem with pagination though? First page looks great but as soon as you select page 2, items no longer are sorted by date added (my default) and instead revert to being sorted alphabetically.

6 Apr 2010, 4:41 PM
#97
gjh42 avatar

gjh42

Black Belt

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

Re: styling product listing pages with column layout grid

Have you tried the plain Column Layout Grid mod? Does that work as you want?
The Flexible Product Listing changes do not touch the overall product sorting in any way, only the product elements.

13 Jun 2010, 7:07 PM
#98
pazaz avatar

pazaz

New Zenner

Join Date:
May 2007
Posts:
47
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

where can I download this contribution flexible_product_listing

I have been through all the pages in this thread and I must be blind :)

rgds
Mick

17 Jun 2010, 4:19 PM
#99
artifaxworthing avatar

artifaxworthing

New Zenner

Join Date:
Mar 2010
Posts:
74
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

we have downloaded your template flexible_product_listing file and it works beautifully:D just one thing we are trying to do is put all the information ie name,description, price etc to the right of the picture rather than below how can we acheive this?

here is our link:

http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=1_14

thanks :D

20 Aug 2010, 8:34 PM
#100
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: styling product listing pages with column layout grid

Hey Glenn, would this play nice with Tabbed Products Pro?

Thanks,
Stephen

Fine Jewelry For Any Budget
Sterling Leaf Jewelry
Rolling in the Zen