Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / change the product design in the product list

change the product design in the product list

Locked
This thread is locked. New replies are disabled.
12 May 2008, 1:46 PM
#1
gripeux avatar

gripeux

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Post #1 by gripeux

Hi, my first post here.

First i'd like to thank the people who work on this great code. I chose ZC, and i don't regret it.

The stuff is hard for a newcomer and i'm stucked trying to design the product display in the product listing / categories.

Actualy i can't find the file to edit to change this design, for info i installed the columnar display patch.

Thank you for your help. :mellow:

15 May 2008, 8:59 PM
#2
gripeux avatar

gripeux

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Post #2 by gripeux

hi,

Actualy i'm customizing a very minimal template, and a lot of the css classes used to edit this page are not included into my stylesheet. Since i don't know what file to edit, i cannot write some code.

Can somebody give me the main classes to edit this damn product list display ?

Thank you :(

17 May 2008, 5:38 PM
#3
gripeux avatar

gripeux

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Post #3 by gripeux

Ok... maybe with a picture it will be easier to get understand.

Running the threads i found a similar template. I'd like to know the file to edit to get this product display in the listing :

Pliz, i don't ask for code, just the file, i can't find the triggers... :cry:

18 May 2008, 1:24 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #4 by stevesh

  • i installed the columnar display patch.*

Do you mean you installed this? -

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=77

If so, that should allow you to style your product listing like the example you showed, from the Admin, without editing files.

18 May 2008, 1:36 AM
#5
gjh42 avatar

gjh42

Black Belt

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

Post #5 by gjh42

On the "teach 'em to fish" theory, what you need is the Firefox Web Developer extension. Its Information > Display Element Information button will show, for any element you click on, the classes/ids, ancestors, and other things you need to know for CSS styling.

The CSS > Edit CSS button will let you instantly see the effects of stylesheet edits.

20 May 2008, 1:13 AM
#6
gripeux avatar

gripeux

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Post #6 by gripeux

Thk you guys, i try that, be right back

This pluggin is fantastic. Thx for the tip
:smile:

7 Jun 2008, 10:09 PM
#7
gripeux avatar

gripeux

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Post #7 by gripeux

ok,

i try few stuffs but no css change can help me on this one. In fact i want the price beside the product name...
There is obviously some code to change but still can't find the trigger.

Some people working on OScommerce told me about a centerboxcontentsproducts.php to edit... but i can't find it in my template. too bad.

:dontgetit

7 Jun 2008, 10:30 PM
#8
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Post #8 by bigbadboy

As it's a template the file could be anywhere.

10 Jun 2008, 2:05 AM
#9
gjh42 avatar

gjh42

Black Belt

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

Post #9 by gjh42

To change the product listing arrangement that way, you will need to edit the Column Grid version of /includes/modules/your_template/product_listing.php.

The file won't be in your custom template folders until you install a mod (as in this case) or make a copy in your template folder from the stock version.