Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product Listing layout config.

Product Listing layout config.

Locked

Views: 13,251

Results 21 to 40 of 52
This thread is locked. New replies are disabled.
5 Jul 2006, 10:05 AM
#21
peterbkk avatar

peterbkk

Zen Follower

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

Product Listing layout config.

ok. Now i have createed a new folder and also moved back the origanal /includes/modules/product_listing.php - But i still have those problems :yes: :yes:

6 Jul 2006, 12:59 AM
#22
peterbkk avatar

peterbkk

Zen Follower

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

Re: Product Listing layout config.

I'm i the only who has those problems?????? i have it both localy and on the web...

11 Jul 2006, 6:15 PM
#23
peterbkk avatar

peterbkk

Zen Follower

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

Re: Product Listing layout config.

**How to do so it looks like: **

and NOT like this:

12 Jul 2006, 1:23 PM
#24
rpain avatar

rpain

Zen Follower

Join Date:
Mar 2005
Location:
Watford, UK
Posts:
146
Plugin Contributions:
0

Re: Product Listing layout config.

Hi,

I'm having a problem where I choose a layout of 3 products per row but just get all products in a column with an equivalent width of one of the rows - see:

http://www.thesunprotectioncompany.com/index.php?main_page=index&cPath=1

The version is 1.3.0.2 and I've just used the default settings. The main layout was just an alteration of column_left so would not affect the main product listing cell.

Any thoughts on why this is happening would be very gratefully received.

Peter - to remove the product description on the grid, go to configuration -> product listing -> display product description and set to 0 I believe. I'm not quite so sure on removing the gap, though.

Thanks,

Richard

13 Jul 2006, 3:02 AM
#25
peterbkk avatar

peterbkk

Zen Follower

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

Re: Product Listing layout config.

Richard - It is not the product description that you are seeing., it is information about min and max order. The product description is turned off already.

I whant smaller fonts and also move up the price and name near the picture.

Peter

14 Jul 2006, 3:08 AM
#26
zhivazhiva avatar

zhivazhiva

New Zenner

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

Re: Product Listing layout config.

Errmmm. Hi, id like to know where can i add space <br> between products in the product listing.

Let me explain:

-Im using DrByte's (un-moded) column layout grid addon

-I know i can enter <br> if i modify the corresponding propety 4th digit for example xxx9 (nine br's) after the name or description... etc

But i understan you can at most give it 9 br's

It is not useful for me because i have VERY big product images, so currently they are vertically one next (edge by edge) to the next product image in the listing.

Where in the DrByte's product_listing.php could i insert something like a

echo '<br>'

To ensure i can get a space/gap/watever between products?

14 Jul 2006, 7:22 AM
#27
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Product Listing layout config.

zhivazhiva:

Errmmm. Hi, id like to know where can i add space <br> between products in the product listing.

Let me explain:

-Im using DrByte's (un-moded) column layout grid addon

-I know i can enter <br> if i modify the corresponding propety 4th digit for example xxx9 (nine br's) after the name or description... etc

But i understan you can at most give it 9 br's

It is not useful for me because i have VERY big product images, so currently they are vertically one next (edge by edge) to the next product image in the listing.

Where in the DrByte's product_listing.php could i insert something like a

echo '<br>'

To ensure i can get a space/gap/watever between products?Have you tried instead setting margins in your stylesheet to keep your images apart?

17 Jul 2006, 5:07 PM
#28
zhivazhiva avatar

zhivazhiva

New Zenner

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

Re: Product Listing layout config.

kuroi:

Have you tried instead setting margins in your stylesheet to keep your images apart?

Thank you for directing me in the right way, it took me a while because i was looking for a "margin" instead of a "padding" (the correct one)

Thanks!

10 Sep 2006, 8:53 AM
#29
patski avatar

patski

Zen Follower

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

Re: Product Listing layout config.

If using the Column Layout Grid mod and your images are different heights, they may mess up the layout.

If you use the image handler mod then you can set the height to say 150! and leave the width blank then the images will all be exactly the same height.

1 May 2007, 6:39 AM
#30
mellonade avatar

mellonade

New Zenner

Join Date:
Apr 2007
Posts:
69
Plugin Contributions:
0

Re: Product Listing layout config.

Hi DrByte- thanks for creating and updating the column grid layout mod. i have a few questions about it, all from a new-to-php/mysql vantage point, so please bear with me. I'm curious, why do we need to modify the database at all if we're mostly changing layout issues? Is it possible to make a similar row-to-grid modification ourselves by using mostly css, html, and moving around the appropriate php? (if so, is this just crazy difficult?) and lastly, if we do use the mod you've so kindly provided, will we need to forever mind the updates for it?

Thanks for the help,
mel

1 May 2007, 8:09 AM
#31
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Listing layout config.

The database components are just to add switches so that it can be turned on/off from the admin side. If you don't want those, you can edit the code to ignore the switch settings and simply operate on a hard-coded configuration.

As for updates ... well ... until a grid-listing option gets built-in to the core, yes, you'll have to make sure you update your files whenever you update to a new version of Zen Cart. You don't have to wait for a new release of the mod if you are comfortable merging coding customizations manually. It all depends on your skill level and urgency of installation.

As for your "CSS/HTML" question ... the mod uses dynamically generated XHTML to produce the output, and hooks into existing stylesheet styles for displaying it. Feel free to adjust either as desired.

1 May 2007, 11:07 PM
#32
darrennanos avatar

darrennanos

New Zenner

Join Date:
Oct 2006
Posts:
13
Plugin Contributions:
0

Re: Product Listing layout config.

Dr. Byte:

Under the Installation instruction is reads

QUICK INSTALL: (1) Copy the product_listing.php module file into the includes/modules/YOURTEMPLATE folder
in your shop;
(2) Copy the template file to your custom templates folder,
** (3) and run the SQL file.**

I've uploaded the other two files, but how do I run the SQL file?

1 May 2007, 11:10 PM
#33
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Product Listing layout config.

darrennanos:

how do I run the SQL file?
Admin > Tools > Install SQL patches

Browse to where you have saved the SQL file and then click "upload".

1 May 2007, 11:26 PM
#34
darrennanos avatar

darrennanos

New Zenner

Join Date:
Oct 2006
Posts:
13
Plugin Contributions:
0

Re: Product Listing layout config.

kuroi:

Admin > Tools > Install SQL patches

Browse to where you have saved the SQL file and then click "upload".

I tried to edit my post but it wouldn't let me...

Anyhow, I just needed to refresh my Admin browser to make the Admin column fucntion show up.

My new question is this:

My products details are currently listed in this order from top to bottom

image
price
(space)
...more info
(space)
title

is there a way to erase the spaces and make it show like this? :

title
image
(space)

I don't know what file I would possibly edit to do this? probably the product listing in my templates folder, but I'm worried I don't have enough knowledge in the php code to get it right, can anyone simplify it for me?

1 May 2007, 11:28 PM
#35
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Product Listing layout config.

Do you have a link to the specific page to which you are referring?

9 May 2007, 1:24 AM
#37
wizardsandwars avatar

wizardsandwars

Zen Follower

Join Date:
Jan 2004
Location:
Chesterfield, VA
Posts:
72
Plugin Contributions:
1

Re: Product Listing layout config.

Quick question regarding this module.

After installing it, I noticed that some products show a 'more info' links, while other product show an 'add qty box'.

I didn't notice the descrepancy earlier, so I think it might have been something in this moudle secifically.

I was thinking that all products in the product listing normally have the same, either a more info link, or a add qty box. I don't think I've ever seen a product listing that showed both.

http://www.bebello.com/index.php?main_page=index&cPath=2

Thanks for looking.

9 May 2007, 1:52 AM
#38
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Product Listing layout config.

Same answer as on your other post ... :smile:

Attributes = more info

No Attributes = Add to Cart button/box etc.

7 Jul 2007, 6:27 PM
#39
majestix avatar

majestix

New Zenner

Join Date:
Aug 2004
Posts:
2
Plugin Contributions:
0

Re: Product Listing layout config.

I like this mod, but couldn't find out of how to keep the sort order of the products in tact. Meaning if I have 6 products and number of columns defined as 3 I'd like to see those showing up taking the sort order of the products into account. As it is right now they show up in reverse order. I couldn't figure out where to change the sql to retrieve the products in a different order. Any ideas? Thanx again for all your help.

20 Dec 2007, 2:20 PM
#40
bumba000 avatar

bumba000

Totally Zenned

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

Re: Product Listing layout config.

Have just installed this mod in a test store running 1.3.8a is there a change that needs made here?

Ive got nothing when I view a product. Product listing is GREAT! Exactly what I was looking for.

But.....

Any help here would be great.

Thanks,
john